summaryrefslogtreecommitdiff
path: root/plugins/!Deprecated/FirstRun/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/!Deprecated/FirstRun/src')
-rw-r--r--plugins/!Deprecated/FirstRun/src/Version.h14
-rw-r--r--plugins/!Deprecated/FirstRun/src/commonheaders.h10
-rw-r--r--plugins/!Deprecated/FirstRun/src/main.cpp60
-rw-r--r--plugins/!Deprecated/FirstRun/src/stdafx.cpp18
4 files changed, 0 insertions, 102 deletions
diff --git a/plugins/!Deprecated/FirstRun/src/Version.h b/plugins/!Deprecated/FirstRun/src/Version.h
deleted file mode 100644
index 1536df74b5..0000000000
--- a/plugins/!Deprecated/FirstRun/src/Version.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#define __MAJOR_VERSION 0
-#define __MINOR_VERSION 0
-#define __RELEASE_NUM 0
-#define __BUILD_NUM 2
-
-#include <stdver.h>
-
-#define __PLUGIN_NAME "First run"
-#define __FILENAME "FirstRun.dll"
-#define __DESCRIPTION "Displays the Accounts window at the first start."
-#define __AUTHOR "Yasnovidyashii"
-#define __AUTHOREMAIL "yasnovidyashii@gmail.com"
-#define __AUTHORWEB "http://miranda-ng.org/p/FirstRun/"
-#define __COPYRIGHT "© 2008 Mikhail Yuriev"
diff --git a/plugins/!Deprecated/FirstRun/src/commonheaders.h b/plugins/!Deprecated/FirstRun/src/commonheaders.h
deleted file mode 100644
index 369f963af8..0000000000
--- a/plugins/!Deprecated/FirstRun/src/commonheaders.h
+++ /dev/null
@@ -1,10 +0,0 @@
-#define _CRT_SECURE_NO_WARNINGS
-
-#include <windows.h>
-
-#include <newpluginapi.h>
-#include <m_langpack.h>
-#include <m_protocols.h>
-#include <m_utils.h>
-
-#include "Version.h" \ No newline at end of file
diff --git a/plugins/!Deprecated/FirstRun/src/main.cpp b/plugins/!Deprecated/FirstRun/src/main.cpp
deleted file mode 100644
index 23a9867d1a..0000000000
--- a/plugins/!Deprecated/FirstRun/src/main.cpp
+++ /dev/null
@@ -1,60 +0,0 @@
-#include "commonheaders.h"
-
-HINSTANCE hInst;
-
-int hLangpack;
-
-PLUGININFOEX pluginInfo={
- sizeof(PLUGININFOEX),
- __PLUGIN_NAME,
- PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
- __DESCRIPTION,
- __AUTHOR,
- __AUTHOREMAIL,
- __COPYRIGHT,
- __AUTHORWEB,
- UNICODE_AWARE,
- // {49C2CF54-7898-44DE-BE3A-6D2E4EF90079}
- {0x49c2cf54, 0x7898, 0x44de, {0xbe, 0x3a, 0x6d, 0x2e, 0x4e, 0xf9, 0x0, 0x79}}
-};
-
-int ModulesLoaded(WPARAM wParam, LPARAM lParam)
-{
- TCHAR* ptszDllName;
- TCHAR ptszDllPath[MAX_PATH];
-
- GetModuleFileName(hInst, ptszDllPath, MAX_PATH);
- ptszDllName = _tcslwr(_tcsrchr(ptszDllPath, '\\'));
-
- if (ptszDllName != NULL)
- ptszDllName = ptszDllName + 1;
-
- CallService(MS_PROTO_SHOWACCMGR, 0, 0);
-
- db_set_b(NULL, "PluginDisable", _T2A(ptszDllName), 1);
-
- return 0;
-}
-
-BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
-{
- hInst = hinstDLL;
- return TRUE;
-}
-
-extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
-{
- return &pluginInfo;
-}
-
-extern "C" __declspec(dllexport) int Load(void)
-{
- mir_getLP(&pluginInfo);
- HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded);
- return 0;
-}
-
-extern "C" __declspec(dllexport) int Unload(void)
-{
- return 0;
-} \ No newline at end of file
diff --git a/plugins/!Deprecated/FirstRun/src/stdafx.cpp b/plugins/!Deprecated/FirstRun/src/stdafx.cpp
deleted file mode 100644
index 048b14e9d2..0000000000
--- a/plugins/!Deprecated/FirstRun/src/stdafx.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
-Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org)
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation version 2
-of the License.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#include "commonheaders.h" \ No newline at end of file