home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / opendc12.zip / od124os2.exe / od12otk1.exe / pmeister / IODSIMPL.TH < prev    next >
Text File  |  1997-04-02  |  2KB  |  72 lines

  1. /*
  2.     File:          $filename:toupper$.H
  3.  
  4.     Description:   Implementation of $partname$
  5.  
  6.     Written by:    $author$
  7.  
  8.     Copyright:     (c) $years$ by $company$
  9.                    - all rights reserved
  10.  
  11.     Generated by:  $toolname$ $toolversion$
  12. */
  13.  
  14. #ifndef _$filename:toupper$_
  15. #define _$filename:toupper$_
  16.  
  17. // ----------------------------------------------------------
  18. // NLS Message constants used in $partname$ --> InstallMenus
  19. //
  20. //   The SP_MSG_SET and SPMSG_* messages must conform to what
  21. //   is shown in the XPG/4 Message catalog file $filename$.MSG
  22. // ----------------------------------------------------------
  23.  
  24. #include <locale.h>
  25. #include <wchar.h>
  26.  
  27. #define $filename:toupper$_MSG_CATALOG  "$filename$.cat"  // Messages are stored in IODSIMPL.MSG
  28.  
  29. // Default messages
  30. #define $filename:toupper$_DEFMSG_HELPMENU       "$displaynamenq$ Part help"
  31. #define $filename:toupper$_DEFMSG_INFOMENU       "$displaynamenq$ Part information"
  32. #define $filename:toupper$_DEFMSG_INFOTITLE      "$displaynamenq$ Part Information"
  33. #define $filename:toupper$_DEFMSG_INFO           "$displaynamenq$ Part version 1.0\n\
  34. Copyright of $company$ $years$. \n\
  35. All rights reserved."
  36.  
  37. // Menu Item IDs
  38. #define k$partname$MenuSeparator                 MENUID_ACTIVEPART_USER
  39. #define k$partname$HelpMenu                     (MENUID_ACTIVEPART_USER + 1)
  40. #define k$partname$InfoMenu                     (MENUID_ACTIVEPART_USER + 2)
  41.  
  42. // Help related constants
  43. #define $filename:toupper$_HELP_FILE     "$filename$.hlp"  // $partname$ help file
  44. #define $filename:toupper$_HELP_PANEL    100
  45.  
  46. #ifdef _PLATFORM_OS2_
  47. #include <ODos2.h>
  48. #endif
  49.  
  50. #include "ODTypes.h"       // for ODBoolean, ODRect, Rect
  51.  
  52. #ifdef _PLATFORM_OS2_
  53. typedef HPS     HDraw;
  54. typedef HBITMAP HIconView;
  55. typedef HBITMAP HThumbView;
  56. typedef HMODULE HResModule;
  57.  
  58. #elif defined(_PLATFORM_WIN32_)
  59. typedef HDC       HDraw;
  60. typedef HICON     HIconView;
  61. typedef HBITMAP   HThumbView;
  62. typedef HINSTANCE HResModule;
  63.  
  64. #elif defined(_PLATFORM_UNIX_)
  65. typedef GC  HDraw;
  66. typedef int HIconView;
  67. typedef int HThumbView;
  68. typedef int HResModule;
  69. #endif
  70.  
  71. #endif // _$filename:toupper$_
  72.