home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / srctrn.zip / SRCTRANS.SC < prev    next >
Text File  |  1994-01-11  |  2KB  |  97 lines

  1.  
  2. # This file was generated by the SOM Compiler.
  3. # FileName: srctrans.sc.
  4. # Generated using:
  5. #     SOM Precompiler spc: 1.22
  6. #     SOM Emitter emitcsc: 1.10
  7.  
  8. // 
  9. //   Source render drag/drop sample
  10. // 
  11. //   Author : Andrew Clinch
  12. // 
  13. //   Disclaimer :
  14. //   In no event shall Andrew Clinch be liable for any damages whatsoever
  15. //   (including, without limitation, damaged or loss of business profits, business
  16. //   interruption, loss of business information, or other pecuniary loss) arising
  17. //   out of the use or inability to use this sample code, even if Andrew Clinch
  18. //   has been advised of the possibility of such damages.
  19. // 
  20.  
  21. #include "wptrans.sc"
  22.  
  23. class: SrcTransient, 
  24.     external stem = src, local, external prefix = src_, 
  25.     classprefix = srcM_, major version = 1, minor version = 1, 
  26.     file stem = srctrans;
  27.  
  28.     -- 
  29.     --  CLASS: VCDataFile
  30.     -- 
  31.     --  CLASS HIERARCHY:
  32.     -- 
  33.     --      SOMObject
  34.     --        └── WPObject
  35.     --              └── WPTransient
  36.     --                    └── SrcTransient
  37.     -- 
  38.     --  DESCRIPTION:
  39.     -- 
  40.     -- 
  41.     -- 
  42.     -- 
  43.     -- 
  44.  
  45.  
  46. parent class: WPTransient;
  47.  
  48.  
  49. release order:
  50.     clsQueryModuleHandle;
  51.  
  52. methods:
  53.  
  54.  
  55.     -- 
  56.     --    Methods from the WPObject class
  57.     -- 
  58.  
  59.     override wpFormatDragItem;
  60.  
  61.     -- 
  62.     --  METHOD: wpFormatDragItem                               ( ) PRIVATE
  63.     --                                                         (X) PUBLIC
  64.     --  DESCRIPTION:
  65.     -- 
  66.     --    Allow the object to set its drag info
  67.     -- 
  68.     -- 
  69.  
  70.     HMODULE    clsQueryModuleHandle(), class;
  71.  
  72.     -- 
  73.     --  METHOD: clsQueryModuleHandle                           ( ) PRIVATE
  74.     --                                                         (X) PUBLIC
  75.     --  DESCRIPTION:
  76.     -- 
  77.     --    This method returns the module handle of this class.  If this is the
  78.     --    first invocation, DosQueryModuleHandle is called to save the handle
  79.     --    for future invocations.
  80.     -- 
  81.     --  RETURN:
  82.     -- 
  83.     --    0              Unsuccessful
  84.     --    non-zero       module handle
  85.     -- 
  86.  
  87.     override wpclsQueryIconData, class;
  88.  
  89.     -- 
  90.     --  METHOD: clsQueryIconData                               ( ) PRIVATE
  91.     --                                                         (X) PUBLIC
  92.     --  DESCRIPTION:
  93.     -- 
  94.     --    Return the class icon.
  95.     -- 
  96.  
  97.