summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FTPFileYM/src/stdafx.h')
-rw-r--r--plugins/FTPFileYM/src/stdafx.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/FTPFileYM/src/stdafx.h b/plugins/FTPFileYM/src/stdafx.h
index f31b540dd8..02cd27330b 100644
--- a/plugins/FTPFileYM/src/stdafx.h
+++ b/plugins/FTPFileYM/src/stdafx.h
@@ -27,8 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <vector>
using namespace std;
-#define __NO_CMPLUGIN_NEEDED
-
#include <newpluginapi.h>
#include <m_button.h>
#include <m_clist.h>
@@ -83,4 +81,9 @@ using namespace std;
#define SOUND_UPCOMPLETE "ftpfile_upcomplete"
#define SOUND_CANCEL "ftpfile_cancel"
-extern HINSTANCE hInst; \ No newline at end of file
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(MODULE)
+ {}
+};