home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * This file was generated by the SOM Compiler.
- * Generated using:
- * SOM incremental update: 6.34
- */
-
- #ifndef lint
- static char *sccsid = "%Z% %I% %W% %G% %U% [%H% %T%] (c)IBM Corp. 1992";
- #endif
-
- /*
- * 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.
- */
-
- #define indentedParagraphs_Class_Source
- #if defined(_WIN32)
- #include "statcls.h"
- #endif
- #include "ipep.ih"
-
- #define PARAGRAPH_INDENTATION 3
- #define LINE_INDENTATION 0
-
-
- /* ************************************************************ */
- SOM_Scope long SOMLINK epGetParagraphIndentation(indentedParagraphs *somSelf)
- {
- /* indentedParagraphsData *somThis = indentedParagraphsGetData(somSelf); */
- indentedParagraphsMethodDebug("indentedParagraphs",
- "epGetParagraphIndentation");
-
- somSelf;
- return PARAGRAPH_INDENTATION;
-
- }
-
- /* ************************************************************ */
- SOM_Scope long SOMLINK epGetLineIndentation(indentedParagraphs *somSelf)
- {
- /* indentedParagraphsData *somThis = indentedParagraphsGetData(somSelf); */
- envProcessor *lastEnv;
- indentedParagraphsMethodDebug("indentedParagraphs",
- "epGetLineIndentation");
- lastEnv = _epGetPreviousEnv(somSelf);
- if (lastEnv)
- return _epGetLineIndentation(lastEnv) +
- LINE_INDENTATION;
- else
- return LINE_INDENTATION;
-
- }
-