home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / som / somk / c / tp / bt.idl < prev    next >
Encoding:
Text File  |  1996-01-24  |  1.0 KB  |  54 lines

  1. /*
  2.  *    %Z% %I% %W% %G% %U% [%H% %T%] (c)IBM Corp. 1992
  3.  */
  4.  
  5. // This file was generated by the SOM Compiler.
  6. // FileName: bt.id2.
  7. // Generated using:
  8. //     SOM Precompiler spc: 6.9
  9. //     SOM Emitter emitidl.dll: 6.8
  10.  
  11. //  This class is adapted from the book
  12. //    Class Construction in C and C++, Object Oriented Fundamentals
  13. //    by Roger Sessions, Copyright (c) 1992 Prentice Hall.
  14. //  Reprinted with permission.
  15.  
  16. #ifndef bt_idl
  17. #define bt_idl
  18.  
  19. #include <somobj.idl>
  20.  
  21. interface baseType : SOMObject
  22. {
  23.   boolean match(in string target);
  24.   
  25.   //  Returns TRUE if the target object matches target,
  26.   //  FALSE otherwise.
  27.  
  28.   void print(inout FILE outputFile);
  29.   
  30.   //   Prints the target object in some reasonable format.
  31.  
  32.  
  33.  
  34. #ifdef __SOMIDL__
  35.   implementation {
  36.  
  37.     releaseorder: match,print;
  38.  
  39.     //# Class Modifiers
  40.     callstyle = oidl;
  41.     local; 
  42.     filestem = bt;
  43.  
  44.     passthru C_h =      "#include <stdio.h>";
  45.  
  46.  
  47.     //# Method Modifiers
  48.  
  49.   };
  50. #endif /* __SOMIDL__ */
  51. };
  52.  
  53. #endif  /* bt_idl */
  54.