Ignore:
Timestamp:
1999-01-19T21:30:29+13:00 (25 years ago)
Author:
rjmcnab
Message:

Added a method to determine whether a macro has been defined.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/lib/display.h

    r114 r118  
    144144  ~displayclass ();
    145145 
     146  // isdefaultmacro sees if there is an entry in the list of
     147  // default macros with the given package and macro name
     148  // returns 0 if no macros in the package or in the global package
     149  //           were found
     150  //         1 if no macros in the package were found but a macro
     151  //           in the global package was found
     152  //         2 if a macro in the given package was found
     153  int isdefaultmacro (text_t package, const text_t &macroname);
     154
    146155  // setdefaultmacro adds an entry to the list of default macros
    147156  // returns 0 if there was no error,
Note: See TracChangeset for help on using the changeset viewer.