diff options
-rw-r--r-- | core/commonheaders.h | 25 | ||||
-rw-r--r-- | core/services.h | 16 |
2 files changed, 41 insertions, 0 deletions
diff --git a/core/commonheaders.h b/core/commonheaders.h new file mode 100644 index 0000000..3ad748c --- /dev/null +++ b/core/commonheaders.h @@ -0,0 +1,25 @@ +#ifndef COMMONHEADERS_H_INCLUDED
+#define COMMONHEADERS_H_INCLUDED
+
+// For compilers that support precompilation, includes "wx.h". +#include <wx/wxprec.h> + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#ifndef WX_PRECOMP +// Include your minimal set of headers here, or wx.h +#include <wx/wx.h> +#endif + +#include <wx/dynlib.h> +#include <wx/dir.h> +#include <wx/log.h> +#include <list> + +#include "../api/pluginapi.h" +#include "services.h" +#include "modules.h"
+
+#endif // COMMONHEADERS_H_INCLUDED
diff --git a/core/services.h b/core/services.h new file mode 100644 index 0000000..eebe16d --- /dev/null +++ b/core/services.h @@ -0,0 +1,16 @@ +#ifndef SERVICES_H_INCLUDED
+#define SERVICES_H_INCLUDED
+
+class service +{ +public: + const char *getName(); + const SERVICE getService(); + service(const char *name, SERVICE service); + ~service(); +private: + char *szName; + SERVICE pService; +};
+
+#endif // SERVICES_H_INCLUDED
|