home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / som / somk / c / tp / tpword.idl < prev    next >
Encoding:
Text File  |  1996-01-24  |  1.1 KB  |  58 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: tpword.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 tpword_idl
  17. #define tpword_idl
  18.  
  19. #include "word.idl"
  20.  
  21. interface TPWord : word
  22. {
  23.   long tpwType();
  24.   
  25.   // Returns the type of a TPWord.
  26.  
  27.  
  28.  
  29. #ifdef __SOMIDL__
  30.   implementation {
  31.  
  32.     releaseorder: tpwType;
  33.  
  34.     //# Class Modifiers
  35.     callstyle = oidl;
  36.     local; 
  37.     filestem = tpword;
  38.  
  39.     passthru C_h =      "  #include \"fm.h\""
  40. ""
  41. "  #define TP_WORD 0"
  42. "  #define TP_LINE_BREAK 1"
  43. "  #define TP_PARAGRAPH_BREAK 2"
  44. "  #define TP_TOKEN 3"
  45. "  #define TP_BLANK_SPACE 4"
  46. "  #define TP_EOF 5"
  47. ""
  48. "  SOMAny *readToken(fileMgr *myFile);";
  49.  
  50.  
  51.     //# Method Modifiers
  52.  
  53.   };
  54. #endif /* __SOMIDL__ */
  55. };
  56.  
  57. #endif  /* tpword_idl */
  58.