git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use netinet/in.h instead of linux/in.h.
[stg.git]
/
projects
/
stargazer
/
store_loader.h
diff --git
a/projects/stargazer/store_loader.h
b/projects/stargazer/store_loader.h
index a5066926df0831a0800be45cd3b9f1f2de1bcdb1..fd8b54a3f992ae2efab8cf26ea4f10a59085bccb 100644
(file)
--- a/
projects/stargazer/store_loader.h
+++ b/
projects/stargazer/store_loader.h
@@
-33,27
+33,31
@@
#include <string>
#include <string>
-#include "base_store.h"
-#include "base_settings.h"
-#include "settings.h"
-#include "noncopyable.h"
+#include "stg/module_settings.h"
+#include "stg/noncopyable.h"
-class STORE_LOADER : private NONCOPYABLE
-{
+class STORE;
+class SETTINGS_IMPL;
+
+class STORE_LOADER : private NONCOPYABLE {
public:
public:
- STORE_LOADER(const SETTINGS & settings);
+ STORE_LOADER(const SETTINGS
_IMPL
& settings);
~STORE_LOADER();
bool Load();
bool Unload();
~STORE_LOADER();
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:
private:
+ STORE_LOADER(const STORE_LOADER & rvalue);
+ STORE_LOADER & operator=(const STORE_LOADER & rvalue);
+
bool isLoaded;
void * handle;
bool isLoaded;
void * handle;
-
BASE_
STORE * plugin;
+ STORE * plugin;
std::string errorStr;
MODULE_SETTINGS storeSettings;
std::string pluginFileName;
std::string errorStr;
MODULE_SETTINGS storeSettings;
std::string pluginFileName;