source: trunk/include/winexe.h@ 1036

Last change on this file since 1036 was 653, checked in by sandervl, 26 years ago

Stupid compiler; if you don't like virtual inline methods, then complain..

File size: 929 bytes
RevLine 
[653]1/* $Id: winexe.h,v 1.6 1999-08-23 18:06:45 sandervl Exp $ */
[4]2
3/*
4 *
5 * Project Odin Software License can be found in LICENSE.TXT
6 *
7 */
8/*
9 * Win32 PE Exe class
10 *
11 * Copyright 1998 Sander van Leeuwen (sandervl@xs4all.nl)
12 *
13 */
14#ifndef __WINEXE_H__
15#define __WINEXE_H__
16
17#include "winimage.h"
18#include "windll.h"
19
20typedef ULONG (* WIN32API WIN32EXEENTRY)();
21
[506]22class Win32Exe;
23typedef Win32Exe *(* WIN32API WIN32CTOR)(char *);
24
[4]25class Win32Exe : public Win32Image
26{
27public:
28 Win32Exe(HINSTANCE hinstance, int NameTableId, int Win32TableId);
29 Win32Exe(char *szFileName);
30 ~Win32Exe();
31
32 void setCommandLine(char *cline) { cmdline = cline; };
33 char *getCommandLine() { return cmdline; };
34
35 BOOL isConsoleApp() { return fConsoleApp; };
36
37virtual ULONG start();
[651]38
[653]39virtual BOOL isDll();
[4]40
41protected:
42 char *cmdline;
43 BOOL fConsoleApp;
44
45private:
46};
47
48extern Win32Exe *WinExe;
49
50#endif
Note: See TracBrowser for help on using the repository browser.