Ignore:
Timestamp:
Feb 24, 2002, 3:47:28 AM (24 years ago)
Author:
bird
Message:

New kFile* classes; now in sync with os2tools.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/common/kFileDef.h

    r5531 r8003  
    5050    char               *pszName;
    5151    char               *pszIntName;
    52     BOOL                fResident;
     52    KBOOL               fResident;
    5353    unsigned long       cParam;
    5454    struct _DefExport  *pNext;
     
    6666        /**@cat pointers to different sections */
    6767        char *pszType;
    68         BOOL fProgram;
    69         BOOL fLibrary;
    70         BOOL fPhysicalDevice;
    71         BOOL fVirtualDevice;
    72         BOOL fInitInstance;
    73         BOOL fTermInstance;
    74         BOOL fInitGlobal;
    75         BOOL fTermGlobal;
     68        KBOOL fProgram;
     69        KBOOL fLibrary;
     70        KBOOL fPhysicalDevice;
     71        KBOOL fVirtualDevice;
     72        KBOOL fInitInstance;
     73        KBOOL fTermInstance;
     74        KBOOL fInitGlobal;
     75        KBOOL fTermGlobal;
    7676        char *pszModName;
    7777        char  chAppType;
     
    9494
    9595        /**@cat internal functions */
    96         void  read(kFile *pFile) throw (int);
    97         char *readln(kFile *pFile, char *pszBuffer, int cbBuffer) throw (int);
    98         BOOL isKeyword(const char *psz);
    99         BOOL setModuleName(void);
     96        void  read(kFile *pFile) throw (kError);
     97        char *readln(kFile *pFile, char *pszBuffer, int cbBuffer) throw (kError);
     98        KBOOL isKeyword(const char *psz);
     99        KBOOL setModuleName(void);
    100100
    101101    public:
    102102        /**@cat Constructor/Destructor */
    103         kFileDef(kFile *pFile) throw(int);
     103        kFileDef(kFile *pFile) throw(kError);
    104104        virtual ~kFileDef();
    105105
    106106        /** @cat Module information methods. */
    107         BOOL        moduleGetName(char *pszBuffer, int cchSize = 260);
     107        KBOOL       moduleGetName(char *pszBuffer, int cchSize = 260);
    108108
    109109        /** @cat Export enumeration methods. */
    110         BOOL        exportFindFirst(kExportEntry *pExport);
    111         BOOL        exportFindNext(kExportEntry *pExport);
     110        KBOOL       exportFindFirst(kExportEntry *pExport);
     111        KBOOL       exportFindNext(kExportEntry *pExport);
    112112        void        exportFindClose(kExportEntry *pExport);
    113113
    114114        /** @cat Export Lookup methods */
    115         BOOL        exportLookup(unsigned long ulOrdinal, kExportEntry *pExport);
    116         BOOL        exportLookup(const char *  pszName, kExportEntry *pExport);
     115        KBOOL       exportLookup(unsigned long ulOrdinal, kExportEntry *pExport);
     116        KBOOL       exportLookup(const char *  pszName, kExportEntry *pExport);
    117117
    118118        /**@cat queries... */
    119         BOOL        isDef() const                { return TRUE;}
     119        KBOOL       isDef() const                { return TRUE;}
    120120        char const *queryModuleName(void) const  { return pszModName;     }
    121121        char const *queryType(void) const        { return pszType;        }
     
    132132
    133133        /**@cat Operations */
    134         BOOL        makeWatcomLinkFileAddtion(kFile *pFile) throw(int);
     134        KBOOL       makeWatcomLinkFileAddtion(kFile *pFile) throw(kError);
    135135
    136136        enum {fullscreen = 0, pmvio = 2, pm = 3, unknown = 255};
Note: See TracChangeset for help on using the changeset viewer.