Debian Codegraph @

src/af/xap/win/xap_Win32Module.h

raw
1 /* AbiSource Application Framework
2 * Copyright (C) 2001 Mike Nordell. Portions
3 * Copyright (C) 1998 AbiSource, Inc. Other Portions
4 * Copyright (C) 2001 Dom
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 * 02110-1301 USA.
19 */
20
21 #ifndef XAP_WIN32MODULE_H
22 #define XAP_WIN32MODULE_H
23
24 #include "xap_Module.h"
25
26 /*!
27 XAP_Win32Module
28 Implements the XAP_Module interface.
29 */
30
31 class ABI_EXPORT XAP_Win32Module : public XAP_Module
32 {
33
34 friend class XAP_ModuleManager;
35
36 protected:
37
38 XAP_Win32Module();
39 virtual ~XAP_Win32Module();
40
41 virtual bool load(const char* name);
42 virtual bool unload();
43
44 public:
45 virtual bool resolveSymbol(const char* symbol_name, void** symbol);
46 virtual bool getModuleName(char** dest) const;
47 virtual bool getErrorMsg(char** dest) const;
48
49 class XAP_Win32ModuleImpl* pimpl;
50 };
51
52 #endif /* XAP_WIN32MODULE_H */