diff options
Diffstat (limited to 'AuthPlugin.h')
-rw-r--r-- | AuthPlugin.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/AuthPlugin.h b/AuthPlugin.h deleted file mode 100644 index dda14ac..0000000 --- a/AuthPlugin.h +++ /dev/null @@ -1,46 +0,0 @@ -/** \file AuthPlugin.h -\brief Define the authentication plugin -\author alpha_one_x86 -\version 0.3 -\date 2010 -\licence GPL3, see the file COPYING */ - -#ifndef AUTHPLUGIN_H -#define AUTHPLUGIN_H - -#include <QThread> -#include <QObject> -#include <QSemaphore> -#include <QStringList> -#include <QString> -#include <QCryptographicHash> - -#include "Environment.h" - -/** \brief allow authentify the plugin */ -class AuthPlugin : public QThread -{ - Q_OBJECT -public: - AuthPlugin(); - ~AuthPlugin(); - /** \brief stop all action to close ultracopier */ - void stop(); - /** \brief add path to check - \param readPath list of read place - \param searchPathPlugin list of plugin place - */ - void loadSearchPath(const QStringList &readPath,const QStringList &searchPathPlugin); -protected: - void run(); -private: - bool stopIt; - QSemaphore sem; - QStringList readPath; - QStringList searchPathPlugin; - static QStringList getFileList(const QString &path); -signals: - void authentifiedPath(QString); -}; - -#endif // AUTHPLUGIN_H |