]> git.stg.codes - stg.git/blobdiff - projects/stargazer/store_loader.h
Rename BASE_AUTH and BASE_STORE to AUTH and STORE
[stg.git] / projects / stargazer / store_loader.h
index a5066926df0831a0800be45cd3b9f1f2de1bcdb1..1f624e1ad34b9e83052db0c93f2ea66c9cb6d684 100644 (file)
 
 #include <string>
 
-#include "base_store.h"
-#include "base_settings.h"
-#include "settings.h"
+#include "module_settings.h"
 #include "noncopyable.h"
 
-class STORE_LOADER : private NONCOPYABLE
-{
+class STORE;
+class SETTINGS;
+
+class STORE_LOADER : private NONCOPYABLE {
 public:
     STORE_LOADER(const SETTINGS & settings);
     ~STORE_LOADER();
@@ -47,13 +47,13 @@ public:
     bool Load();
     bool Unload();
 
-    BASE_STORE * GetStore() { return plugin; };
+    STORE * GetStore() { return plugin; }
 
-    const std::string & GetStrError() const { return errorStr; };
+    const std::string & GetStrError() const { return errorStr; }
 private:
     bool isLoaded;
     void * handle;
-    BASE_STORE * plugin;
+    STORE * plugin;
     std::string errorStr;
     MODULE_SETTINGS storeSettings;
     std::string pluginFileName;