home *** CD-ROM | disk | FTP | other *** search
- /*
- * %Z% %I% %W% %G% %U% [%H% %T%] (c)IBM Corp. 1992
- */
-
- // This file was generated by the SOM Compiler.
- // FileName: textline.id2.
- // Generated using:
- // SOM Precompiler spc: 6.9
- // SOM Emitter emitidl.dll: 6.8
-
- // This class is adapted from the book
- // Class Construction in C and C++, Object Oriented Fundamentals
- // by Roger Sessions, Copyright (c) 1992 Prentice Hall.
- // Reprinted with permission.
-
- #ifndef textline_idl
- #define textline_idl
-
- #include "ll.idl"
-
- interface textLine : linkedList
- {
- void tlInit(in long newSize);
-
- // Initialize a new text line with the number of characters
- // it can contain.
-
- long tlCharsInLine();
-
- // Returns the number of characters in a textLine.
-
- long tlCharsLeft();
-
- // Returns the number of characters that can still be placed
- // in the textLine.
-
-
-
- #ifdef __SOMIDL__
- implementation {
-
- releaseorder: tlInit,tlCharsInLine,tlCharsLeft;
-
- //# Class Modifiers
- callstyle = oidl;
- local;
- filestem = textline;
-
-
-
- //# Internal Instance Variables
- long maxSize;
- long totalChars;
-
- //# Method Modifiers
- llAddTail: override;
- llAddHead: override;
- llReplace: override;
- somInit: override;
- somUninit: override;
- somDumpSelfInt: override;
-
- //# Data Modifiers
- maxSize: ;
- totalChars: ;
-
- };
- #endif /* __SOMIDL__ */
- };
-
- #endif /* textline_idl */
-