Removed IConfigCreator/ConfigCreator and changed file structure.
This commit is contained in:
parent
d8aba7da7d
commit
e39ddeeea2
24 changed files with 36 additions and 139 deletions
|
@ -37,7 +37,6 @@ struct option;
|
|||
namespace xmrig {
|
||||
|
||||
|
||||
class IConfigCreator;
|
||||
class IConfigListener;
|
||||
class Watcher;
|
||||
|
||||
|
@ -45,14 +44,13 @@ class Watcher;
|
|||
class ConfigWatcher : public IWatcherListener
|
||||
{
|
||||
public:
|
||||
ConfigWatcher(const String &path, IConfigCreator *creator, IConfigListener *listener);
|
||||
ConfigWatcher(const String &path, IConfigListener *listener);
|
||||
~ConfigWatcher() override;
|
||||
|
||||
protected:
|
||||
void onFileChanged(const String &fileName) override;
|
||||
|
||||
private:
|
||||
IConfigCreator *m_creator;
|
||||
IConfigListener *m_listener;
|
||||
Watcher *m_watcher;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue