home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / sompar.zip / SOM / PART.IDL < prev    next >
Text File  |  1993-12-19  |  938b  |  37 lines

  1. //
  2. // Project: Digitalk Parts like Toolbar and SOMObjects Containers Demo
  3. // File:    part.idl
  4. // Author:  Stewart Hyde
  5. // Created: Dec   18, 1993
  6. // Updated: Dec   18, 1993
  7. //
  8. // Description:
  9. //
  10.  
  11.  
  12. #include <somobj.idl>
  13.  
  14. interface Part: SOMObject {
  15.   const long stackSize = 100;
  16.   const long setSize = 4;    
  17.   boolean Search(in long lSet, in long lAction, out long ID, out long Count);
  18.   boolean Add(in long lSet, in long LAction, out long ID, out long Count);
  19.   boolean Update(in long lSet, in long LAction, out long ID, out long Count);
  20.   boolean Debug(in boolean NewState);
  21.   long Size();    
  22.  
  23.   #ifdef __SOMIDL__
  24.     implementation {
  25.       releaseorder: Search, Add, Update, Size, Debug;
  26.       somInit: override;
  27.         boolean DebugState;
  28.        long stackCount;
  29.       long stackSet[stackSize];
  30.         long stackAction[stackSize];
  31.         long stackActionCount[stackSize];
  32.       dllname = "part.dll";
  33.     };
  34.   #endif
  35.  
  36. };
  37.