diff options
author | Thomas Preud'homme <robotux@celest.fr> | 2013-03-21 11:01:59 +0100 |
---|---|---|
committer | Thomas Preud'homme <robotux@celest.fr> | 2013-03-21 11:01:59 +0100 |
commit | e297dbd8052ef4e66f069e2dd1865ae7fa8af28e (patch) | |
tree | 342fea0a2f6f33b8b62dad2d1729f8209da1a1ba /CopyListener.h | |
parent | 8f9f382e1c97cab2e72e97495650c73ac4b97314 (diff) |
Imported Upstream version 0.3.1.0
Diffstat (limited to 'CopyListener.h')
-rwxr-xr-x | CopyListener.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/CopyListener.h b/CopyListener.h index c5cd84e..198ce9f 100755 --- a/CopyListener.h +++ b/CopyListener.h @@ -16,13 +16,14 @@ #include "Environment.h" #include "GlobalClass.h" #include "PluginLoader.h" +#include "OptionDialog.h" /** \brief to load all the listener and parse all event */ class CopyListener : public QObject, public GlobalClass { Q_OBJECT public: - explicit CopyListener(QObject *parent = 0); + explicit CopyListener(OptionDialog *optionDialog); ~CopyListener(); /** \brief send of one listener is loaded */ bool oneListenerIsLoaded(); @@ -78,6 +79,7 @@ class CopyListener : public QObject, public GlobalClass void newMove(quint32 orderId,QStringList protocolsUsedForTheSources,QStringList sources,QString protocolsUsedForTheDestination,QString destination); void listenerReady(ListeningState state,bool havePlugin,bool someAreInWaitOfReply); void pluginLoaderReady(CatchState state,bool havePlugin,bool someAreInWaitOfReply); + void previouslyPluginAdded(PluginsAvailable); private: struct PluginListener { @@ -102,12 +104,12 @@ class CopyListener : public QObject, public GlobalClass QList<CopyRunning> copyRunningList; quint32 incrementOrderId(); bool tryListen; - PluginLoader pluginLoader; + PluginLoader *pluginLoader; ListeningState last_state; bool last_have_plugin,last_inWaitOfReply; void sendState(bool force=false); - QStringList parseWildcardSources(QStringList sources); QStringList stripSeparator(QStringList sources); + OptionDialog *optionDialog; }; #endif // COPYLISTENER_H |