home *** CD-ROM | disk | FTP | other *** search
/ The Developer Connection…ice Driver Kit for OS/2 3 / DEV3-D1.ISO / source / wpshidl / samples / wpsamps / myfolder.idl < prev    next >
Encoding:
Text File  |  1993-11-18  |  1.7 KB  |  71 lines

  1.  
  2. //# This file was generated by the SOM Compiler.
  3. //# FileName: myfolder.id2.
  4. //# Generated using:
  5. //#     SOM Precompiler somopc: 2.2
  6. //#     SOM Emitter emitidl: 2.7
  7.  
  8. //
  9. //
  10. //   Module Name: MYFOLDER
  11. //
  12. //   OS/2 Work Place Shell Sample Program - SOM 2.0 / IDL Version
  13. //
  14. //   Copyright (C) 1992, 1993 IBM Corporation
  15. //
  16. //       DISCLAIMER OF WARRANTIES.  The following [enclosed] code is
  17. //       sample code created by IBM Corporation. This sample code is not
  18. //       part of any standard or IBM product and is provided to you solely
  19. //       for  the purpose of assisting you in the development of your
  20. //       applications.  The code is provided "AS IS", without
  21. //       warranty of any kind.  IBM shall not be liable for any damages
  22. //       arising out of your use of the sample code, even if they have been
  23. //       advised of the possibility of such damages.
  24. //
  25.  
  26. #ifndef myfolder_idl
  27. #define myfolder_idl
  28.  
  29. #include <wpfolder.idl>
  30. #include <somcls.idl>
  31.  
  32. interface MYFOLDER : WPFolder
  33. {
  34.   void CloseViews();
  35.  
  36.  
  37. #ifdef __SOMIDL__
  38.   implementation {
  39.  
  40.     releaseorder: CloseViews;
  41.  
  42.     //# Class Modifiers
  43.     externalstem = myfold;
  44.     local;
  45.     externalprefix = myfold_;
  46.     majorversion = 1;
  47.     minorversion = 2;
  48.     filestem = myfolder;
  49.     metaclass = SOMClass;
  50.     callstyle = oidl;
  51.  
  52.     passthru C_ih =     ""
  53. "   #define ID_CLOSEVIEWSMENU     (WPMENUID_USER+1) /* menus added to popup menu */"
  54. ""
  55. "   #define IDM_CLOSEVIEWS        (WPMENUID_USER+2) /* submenus of added menus */"
  56. "";
  57.  
  58.  
  59.     //# Method Modifiers
  60.     wpOpen: override;
  61.     wpModifyPopupMenu: override;
  62.     wpMenuItemSelected: override;
  63.  
  64.     //# Data Modifiers
  65.  
  66.   };
  67. #endif /* __SOMIDL__ */
  68. };
  69.  
  70. #endif  /* myfolder_idl */
  71.