home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / macfe / include / reserr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  2.0 KB  |  66 lines

  1. /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18.  
  19. /* reserr.h
  20.  * defines for error dialog boxes
  21.  */
  22. #ifndef __RESERR__
  23. #define __RESERR__
  24.  
  25. // ParamText: ^0 application name, ^1 file name, ^2 error code
  26. // Returns: 1 save file, 2 delete file
  27. #define ALRT_ODOCFailed 1000
  28.  
  29. // ParamText: ^0 application name, ^1 file name
  30. // Returns: 1 save file, 2 delete file
  31. #define ALRT_AppNotFound 1001
  32.  
  33. // ParamText: ^0 application name, ^1 file name
  34. // Returns: 1 save file, 2 delete file, 3 try again
  35. #define ALRT_AppMemFull 1002
  36.  
  37. // ParamText: ^0 application name, ^1 file name, ^2 error code
  38. // Returns: 1 save file, 2 delete file
  39. #define ALRT_AppMiscError 1003
  40.  
  41. // Clear. Use ParamText ^0^1^2^3
  42. #define ALRT_PlainAlert 1004
  43.  
  44. // resources between 1005 and 1007 are taken by password dialogs
  45.  
  46. // Your last command could not be completed because ^0.  Error number ^1.
  47. #define ALRT_ErrorOccurred    1008
  48.  
  49. // Clear. Yes or no response. Use ParamText ^0^1^2^3
  50. #define ALRT_YorNAlert    1010
  51.  
  52. // Unknown MIME type alert ^0 is file name, ^1 is document type
  53. #define ALRT_UnknownMimeType 1011
  54. #define ALRT_UnknownMimeType_Cancel 1
  55. #define ALRT_UnknownMimeType_Save 2
  56. #define ALRT_UnknownMimeType_PickApp 3
  57. #define ALRT_UnknownMimeType_MoreInfo 4
  58.  
  59. // 
  60. #define ALRT_BookmarkOutDrag    1013
  61.  
  62. #endif
  63.  
  64.  
  65.  
  66.