Ignore:
Timestamp:
Oct 3, 2000, 7:42:41 AM (25 years ago)
Author:
bird
Message:

Implemented .Def to WLINK directives/options converter.

File:
1 edited

Legend:

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

    r824 r4402  
    5151    char               *pszIntName;
    5252    BOOL                fResident;
    53     ULONG               cParam;
     53    unsigned long       cParam;
    5454    struct _DefExport  *pNext;
    5555} DEFEXPORT, *PDEFEXPORT;
     
    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;
     76        char *pszModName;
     77        char  chAppType;
     78
    6879        char *pszBase;
    6980        char *pszCode;
     
    8394
    8495        /**@cat internal functions */
    85         void  read(FILE *phFile) throw (int);
    86         char *readln(FILE *phFile, char *pszBuffer, int cbBuffer) throw (int);
     96        void  read(kFile *pFile) throw (int);
     97        char *readln(kFile *pFile, char *pszBuffer, int cbBuffer) throw (int);
    8798        BOOL  isKeyword(const char *psz);
     99        BOOL  setModuleName(void);
    88100
    89101    public:
    90102        /**@cat Constructor/Destructor */
    91         kFileDef(FILE *phFile) throw(int);
     103        kFileDef(kFile *pFile) throw(int);
    92104        virtual ~kFileDef();
    93105
     
    97109        BOOL        findNextExport(PEXPORTENTRY pExport);
    98110        BOOL        isDef() const                { return TRUE;}
     111        char const *queryModuleName(void) const  { return pszModName;     }
    99112        char const *queryType(void) const        { return pszType;        }
    100113        char const *queryBase(void) const        { return pszBase;        }
     
    108121        char const *queryStackSize(void) const   { return pszStackSize;   }
    109122        char const *queryStub(void) const        { return pszStub;        }
     123
     124        /**@cat Operations */
     125        BOOL        makeWatcomLinkFileAddtion(kFile *pFile) throw(int);
     126
     127        enum {fullscreen = 0, pmvio = 2, pm = 3, unknown = 255};
    110128};
    111129
Note: See TracChangeset for help on using the changeset viewer.