Document domain parameter of wxTranslations::GetTranslatedString().
[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 // Copyright: (c) 2009 Vaclav Slavik
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _MY_DLL_H_
11 #define _MY_DLL_H_
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17 #ifdef MY_DLL_BUILDING
18 #define MY_DLL_DECL __declspec(dllexport)
19 #else
20 #define MY_DLL_DECL __declspec(dllimport)
21 #endif
22
23 // launch wx UI from some application that may or may not be written in wx
24 MY_DLL_DECL void run_wx_gui_from_dll(const char *title);
25
26 // run this to shutdown running threads etc.
27 MY_DLL_DECL void wx_dll_cleanup();
28
29
30 #ifdef __cplusplus
31 }
32 #endif
33
34 #endif // _MY_DLL_H_