From 9c90c39b2bf798892a48e13a252a930447a0c092 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Thu, 18 Sep 2014 20:41:59 +0000 Subject: FirstRun plugin moved to deprecated git-svn-id: http://svn.miranda-ng.org/main/trunk@10511 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/FirstRun/FirstRun_10.vcxproj | 192 -------------------------- plugins/FirstRun/FirstRun_10.vcxproj.filters | 37 ----- plugins/FirstRun/FirstRun_12.vcxproj | 195 --------------------------- plugins/FirstRun/FirstRun_12.vcxproj.filters | 37 ----- plugins/FirstRun/res/Version.rc | 38 ------ plugins/FirstRun/src/Version.h | 14 -- plugins/FirstRun/src/commonheaders.h | 10 -- plugins/FirstRun/src/main.cpp | 60 --------- plugins/FirstRun/src/stdafx.cpp | 18 --- 9 files changed, 601 deletions(-) delete mode 100644 plugins/FirstRun/FirstRun_10.vcxproj delete mode 100644 plugins/FirstRun/FirstRun_10.vcxproj.filters delete mode 100644 plugins/FirstRun/FirstRun_12.vcxproj delete mode 100644 plugins/FirstRun/FirstRun_12.vcxproj.filters delete mode 100644 plugins/FirstRun/res/Version.rc delete mode 100644 plugins/FirstRun/src/Version.h delete mode 100644 plugins/FirstRun/src/commonheaders.h delete mode 100644 plugins/FirstRun/src/main.cpp delete mode 100644 plugins/FirstRun/src/stdafx.cpp (limited to 'plugins/FirstRun') diff --git a/plugins/FirstRun/FirstRun_10.vcxproj b/plugins/FirstRun/FirstRun_10.vcxproj deleted file mode 100644 index a9296f47d6..0000000000 --- a/plugins/FirstRun/FirstRun_10.vcxproj +++ /dev/null @@ -1,192 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {2CBA4321-8FA3-4385-BAB6-5387668FBBC4} - FirstRun - - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - - - DynamicLibrary - Unicode - true - - - DynamicLibrary - Unicode - true - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Size - false - Use - commonheaders.h - - - false - true - true - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - ..\..\include\msapi - - - - - Full - OnlyExplicitInline - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Size - false - Use - commonheaders.h - - - false - true - true - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin10\lib - /PDBALTPATH:%_PDB% - - - ..\..\include\msapi - - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - false - Use - commonheaders.h - - - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - - - ..\..\include\msapi - - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - false - Use - commonheaders.h - - - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin10\lib - - - ..\..\include\msapi - - - - - - Create - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/FirstRun/FirstRun_10.vcxproj.filters b/plugins/FirstRun/FirstRun_10.vcxproj.filters deleted file mode 100644 index 5faa296026..0000000000 --- a/plugins/FirstRun/FirstRun_10.vcxproj.filters +++ /dev/null @@ -1,37 +0,0 @@ - - - - - {27fbd9e8-a1b4-43ce-9fb9-18d89fdb2d70} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {196047f9-ebe5-4820-92f6-8142fff77f44} - h;hpp;hxx;hm;inl - - - {25f47b14-8246-4a8c-aa14-bc73970c74bf} - - - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/FirstRun/FirstRun_12.vcxproj b/plugins/FirstRun/FirstRun_12.vcxproj deleted file mode 100644 index bea8897167..0000000000 --- a/plugins/FirstRun/FirstRun_12.vcxproj +++ /dev/null @@ -1,195 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {2CBA4321-8FA3-4385-BAB6-5387668FBBC4} - FirstRun - - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - DynamicLibrary - Unicode - true - v120_xp - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.40219.1 - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)\Plugins\ - $(SolutionDir)$(Configuration)64\Plugins\ - $(SolutionDir)$(Configuration)\Obj\$(ProjectName)\ - $(SolutionDir)$(Configuration)64\Obj\$(ProjectName)\ - true - - - - Full - OnlyExplicitInline - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Size - false - Use - commonheaders.h - - - false - true - true - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin12\lib - - - ..\..\include\msapi - - - - - Full - OnlyExplicitInline - ..\..\include;%(AdditionalIncludeDirectories) - NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - true - Level3 - Size - false - Use - commonheaders.h - - - false - true - true - $(IntDir)$(TargetName).lib - true - Windows - $(ProfileDir)..\..\bin12\lib - - - ..\..\include\msapi - - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level3 - EditAndContinue - false - Use - commonheaders.h - - - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - false - - - ..\..\include\msapi - - - - - Disabled - ..\..\include;%(AdditionalIncludeDirectories) - _DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebugDLL - Level3 - false - Use - commonheaders.h - - - true - false - $(IntDir)$(TargetName).lib - Windows - $(ProfileDir)..\..\bin12\lib - - - ..\..\include\msapi - - - - - - Create - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/FirstRun/FirstRun_12.vcxproj.filters b/plugins/FirstRun/FirstRun_12.vcxproj.filters deleted file mode 100644 index 5faa296026..0000000000 --- a/plugins/FirstRun/FirstRun_12.vcxproj.filters +++ /dev/null @@ -1,37 +0,0 @@ - - - - - {27fbd9e8-a1b4-43ce-9fb9-18d89fdb2d70} - cpp;c;cxx;rc;def;r;odl;idl;hpj;bat - - - {196047f9-ebe5-4820-92f6-8142fff77f44} - h;hpp;hxx;hm;inl - - - {25f47b14-8246-4a8c-aa14-bc73970c74bf} - - - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - - - Resource Files - - - \ No newline at end of file diff --git a/plugins/FirstRun/res/Version.rc b/plugins/FirstRun/res/Version.rc deleted file mode 100644 index 5bfbab4754..0000000000 --- a/plugins/FirstRun/res/Version.rc +++ /dev/null @@ -1,38 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#ifdef APSTUDIO_INVOKED -#error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - -#include "afxres.h" -#include "..\src\version.h" - -VS_VERSION_INFO VERSIONINFO - FILEVERSION __FILEVERSION_STRING - PRODUCTVERSION __FILEVERSION_STRING - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x0L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "000004b0" - BEGIN - VALUE "FileDescription", __DESCRIPTION - VALUE "InternalName", __PLUGIN_NAME - VALUE "LegalCopyright", __COPYRIGHT - VALUE "OriginalFilename", __FILENAME - VALUE "ProductName", __PLUGIN_NAME - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x0, 1200 - END -END diff --git a/plugins/FirstRun/src/Version.h b/plugins/FirstRun/src/Version.h deleted file mode 100644 index 1536df74b5..0000000000 --- a/plugins/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 - -#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/FirstRun/src/commonheaders.h b/plugins/FirstRun/src/commonheaders.h deleted file mode 100644 index 369f963af8..0000000000 --- a/plugins/FirstRun/src/commonheaders.h +++ /dev/null @@ -1,10 +0,0 @@ -#define _CRT_SECURE_NO_WARNINGS - -#include - -#include -#include -#include -#include - -#include "Version.h" \ No newline at end of file diff --git a/plugins/FirstRun/src/main.cpp b/plugins/FirstRun/src/main.cpp deleted file mode 100644 index 23a9867d1a..0000000000 --- a/plugins/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/FirstRun/src/stdafx.cpp b/plugins/FirstRun/src/stdafx.cpp deleted file mode 100644 index 0edf9e36e6..0000000000 --- a/plugins/FirstRun/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-14 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 . -*/ - -#include "commonheaders.h" \ No newline at end of file -- cgit v1.2.3