]> git.saurik.com Git - wxWidgets.git/blob - samples/dll/my_dll.h
Add semi-public wxDynamicLibrary::MSWGetModuleHandle().
[wxWidgets.git] / samples / dll / my_dll.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: my_dll.h
3 // Purpose: Sample showing how to use wx from a DLL
4 // Author: Vaclav Slavik
5 // Created: 2009-12-03
6 // RCS-ID: $Id$
7 // Copyright: (c) 2009 Vaclav Slavik
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _MY_DLL_H_
12 #define _MY_DLL_H_
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
18 // launch wx UI from some application that may or may not be written in wx
19 WXIMPORT void run_wx_gui_from_dll(const char *title);
20
21 // run this to shutdown running threads etc.
22 WXIMPORT void wx_dll_cleanup(void);
23
24
25 #ifdef __cplusplus
26 }
27 #endif
28
29 #endif // _MY_DLL_H_