]> git.stg.codes - stg.git/blob - projects/stargazer/plugins/configuration/sgconfig-ng/creator.cpp
Added note about waiting rscriptd until message queue becomes empty
[stg.git] / projects / stargazer / plugins / configuration / sgconfig-ng / creator.cpp
1 #include "stgconfig.h"
2
3 class STGCONFIG_CREATOR
4 {
5 private:
6     STGCONFIG2 * stgconfig;
7
8 public:
9     STGCONFIG_CREATOR()
10         : stgconfig(new STGCONFIG2())
11         {
12         };
13     ~STGCONFIG_CREATOR()
14         {
15         delete stgconfig;
16         };
17
18     STGCONFIG2 * GetPlugin()
19         {
20         return stgconfig;
21         };
22 };
23
24 STGCONFIG_CREATOR stgc;
25
26 BASE_PLUGIN * GetPlugin()
27 {
28 return stgc.GetPlugin();
29 }