From f3db9af4cc81484ef1b6529934d30adb77292b7d Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 25 Dec 2014 18:33:15 +0000 Subject: files structure changed git-svn-id: http://svn.miranda-ng.org/main/trunk@11631 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdemail/commonheaders.cpp | 2 - src/core/stdemail/commonheaders.h | 76 -------------------------- src/core/stdemail/email.cpp | 79 --------------------------- src/core/stdemail/main.cpp | 67 ----------------------- src/core/stdemail/res/resource.rc | 66 ++++++++++++++++++++++ src/core/stdemail/res/version.rc | 38 +++++++++++++ src/core/stdemail/resource.rc | 66 ---------------------- src/core/stdemail/src/commonheaders.cpp | 2 + src/core/stdemail/src/commonheaders.h | 76 ++++++++++++++++++++++++++ src/core/stdemail/src/email.cpp | 79 +++++++++++++++++++++++++++ src/core/stdemail/src/main.cpp | 67 +++++++++++++++++++++++ src/core/stdemail/src/version.h | 12 ++++ src/core/stdemail/stdemail_10.vcxproj | 18 +++--- src/core/stdemail/stdemail_10.vcxproj.filters | 15 +++-- src/core/stdemail/stdemail_12.vcxproj | 18 +++--- src/core/stdemail/stdemail_12.vcxproj.filters | 15 +++-- src/core/stdemail/version.h | 14 ----- src/core/stdemail/version.rc | 42 -------------- 18 files changed, 374 insertions(+), 378 deletions(-) delete mode 100644 src/core/stdemail/commonheaders.cpp delete mode 100644 src/core/stdemail/commonheaders.h delete mode 100644 src/core/stdemail/email.cpp delete mode 100644 src/core/stdemail/main.cpp create mode 100644 src/core/stdemail/res/resource.rc create mode 100644 src/core/stdemail/res/version.rc delete mode 100644 src/core/stdemail/resource.rc create mode 100644 src/core/stdemail/src/commonheaders.cpp create mode 100644 src/core/stdemail/src/commonheaders.h create mode 100644 src/core/stdemail/src/email.cpp create mode 100644 src/core/stdemail/src/main.cpp create mode 100644 src/core/stdemail/src/version.h delete mode 100644 src/core/stdemail/version.h delete mode 100644 src/core/stdemail/version.rc diff --git a/src/core/stdemail/commonheaders.cpp b/src/core/stdemail/commonheaders.cpp deleted file mode 100644 index 95b2201163..0000000000 --- a/src/core/stdemail/commonheaders.cpp +++ /dev/null @@ -1,2 +0,0 @@ -#include "commonheaders.h" - diff --git a/src/core/stdemail/commonheaders.h b/src/core/stdemail/commonheaders.h deleted file mode 100644 index c4aab03b84..0000000000 --- a/src/core/stdemail/commonheaders.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - -Miranda NG: the free IM client for Microsoft* Windows* - -Copyright (c) 2012-14 Miranda NG project (http://miranda-ng.org), -Copyright (c) 2000-12 Miranda IM project, -all portions of this codebase are copyrighted to the people -listed in contributors.txt. - -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; either version 2 -of the License, or (at your option) any later version. - -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, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -*/ - -#define WINVER 0x0700 -#define _WIN32_WINNT 0x0700 -#define _WIN32_IE 0x0601 - -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "version.h" - -#include "../../resource.h" -#include "../stdplug.h" - -extern HINSTANCE hInst; diff --git a/src/core/stdemail/email.cpp b/src/core/stdemail/email.cpp deleted file mode 100644 index d73786d379..0000000000 --- a/src/core/stdemail/email.cpp +++ /dev/null @@ -1,79 +0,0 @@ -/* - -Miranda NG: the free IM client for Microsoft* Windows* - -Copyright (c) 2012-14 Miranda NG project (http://miranda-ng.org), -Copyright (c) 2000-12 Miranda IM project, -all portions of this codebase are copyrighted to the people -listed in contributors.txt. - -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; either version 2 -of the License, or (at your option) any later version. - -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, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -*/ -#include "commonheaders.h" - -static HGENMENU hEMailMenuItem; - -void SendEmailThread(void *szUrl) -{ - ShellExecuteA(NULL, "open", (char*)szUrl, "", "", SW_SHOW); - mir_free(szUrl); - return; -} - -static INT_PTR SendEMailCommand(WPARAM hContact, LPARAM lParam) -{ - DBVARIANT dbv; - char *szProto = GetContactProto(hContact); - if (szProto == NULL || db_get_s(hContact, szProto, "e-mail", &dbv)) { - if (db_get_s(hContact, "UserInfo", "Mye-mail0", &dbv)) { - MessageBox((HWND)lParam, TranslateT("User has not registered an e-mail address"), TranslateT("Send e-mail"), MB_OK); - return 1; - } - } - char *szUrl = (char*)mir_alloc(mir_strlen(dbv.pszVal)+8); - mir_strcpy(szUrl, "mailto:"); - mir_strcat(szUrl, dbv.pszVal); - mir_free(dbv.pszVal); - forkthread(SendEmailThread, 0, szUrl); - return 0; -} - -static int EMailPreBuildMenu(WPARAM hContact, LPARAM) -{ - bool bEnabled = true; - DBVARIANT dbv = { 0 }; - char *szProto = GetContactProto(hContact); - if (szProto == NULL || db_get_s(hContact, szProto, "e-mail", &dbv)) - if (db_get_s(hContact, "UserInfo", "Mye-mail0", &dbv)) - bEnabled = false; - - Menu_ShowItem(hEMailMenuItem, bEnabled); - if (dbv.pszVal) db_free(&dbv); - return 0; -} - -int LoadSendRecvEMailModule(void) -{ - CLISTMENUITEM mi = { sizeof(mi) }; - mi.position = -2000010000; - mi.icolibItem = GetSkinIconHandle(SKINICON_OTHER_SENDEMAIL); - mi.pszName = LPGEN("&E-mail"); - mi.pszService = MS_EMAIL_SENDEMAIL; - hEMailMenuItem = Menu_AddContactMenuItem(&mi); - - CreateServiceFunction(MS_EMAIL_SENDEMAIL, SendEMailCommand); - HookEvent(ME_CLIST_PREBUILDCONTACTMENU, EMailPreBuildMenu); - return 0; -} diff --git a/src/core/stdemail/main.cpp b/src/core/stdemail/main.cpp deleted file mode 100644 index 4888cf08f1..0000000000 --- a/src/core/stdemail/main.cpp +++ /dev/null @@ -1,67 +0,0 @@ -/* - -Standard e-mail urls launcher for Miranda NG - -Copyright (C) 2012-14 George Hazan - -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; either version 2 of the License, or -(at your option) any later version. - -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, write to the Free Software Foundation, Inc., -51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - -#include "commonheaders.h" - -int LoadSendRecvEMailModule(void); - -HINSTANCE hInst; -int hLangpack; - -PLUGININFOEX pluginInfo = { - sizeof(PLUGININFOEX), - __PLUGIN_NAME, - MIRANDA_VERSION_DWORD, - __DESCRIPTION, - __AUTHOR, - __AUTHOREMAIL, - __COPYRIGHT, - __AUTHORWEB, - UNICODE_AWARE, - // {b774d10a-c761-11e1-8405-27e76188709b} - {0xb774d10a, 0xc761, 0x11e1, {0x84, 0x05, 0x27, 0xe7, 0x61, 0x88, 0x70, 0x9b }} -}; - -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) const MUUID MirandaInterfaces[] = { MIID_SREMAIL, MIID_LAST }; - -extern "C" int __declspec(dllexport) Load(void) -{ - mir_getLP(&pluginInfo); - - LoadSendRecvEMailModule(); - return 0; -} - -extern "C" int __declspec(dllexport) Unload(void) -{ - return 0; -} diff --git a/src/core/stdemail/res/resource.rc b/src/core/stdemail/res/resource.rc new file mode 100644 index 0000000000..5bb57eb276 --- /dev/null +++ b/src/core/stdemail/res/resource.rc @@ -0,0 +1,66 @@ +// Microsoft Visual C++ generated resource script. +// +#include "..\..\resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include +#include + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// English (United States) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +#pragma code_page(1252) + +///////////////////////////////////////////////////////////////////////////// +// +// Dialog +// + +#endif // APSTUDIO_INVOKED + +///////////////////////////////////////////////////////////////////////////// +// +// DESIGNINFO +// + +#ifdef APSTUDIO_INVOKED +GUIDELINES DESIGNINFO +BEGIN +END +#endif // APSTUDIO_INVOKED + + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "..\..\resource.h\0" +END + +2 TEXTINCLUDE +BEGIN + "#include \r\n" + "#include \r\n" + "\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED diff --git a/src/core/stdemail/res/version.rc b/src/core/stdemail/res/version.rc new file mode 100644 index 0000000000..5bfbab4754 --- /dev/null +++ b/src/core/stdemail/res/version.rc @@ -0,0 +1,38 @@ +// 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/src/core/stdemail/resource.rc b/src/core/stdemail/resource.rc deleted file mode 100644 index 5bb57eb276..0000000000 --- a/src/core/stdemail/resource.rc +++ /dev/null @@ -1,66 +0,0 @@ -// Microsoft Visual C++ generated resource script. -// -#include "..\..\resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include -#include - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (United States) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -#endif // APSTUDIO_INVOKED - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO -BEGIN -END -#endif // APSTUDIO_INVOKED - - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE -BEGIN - "..\..\resource.h\0" -END - -2 TEXTINCLUDE -BEGIN - "#include \r\n" - "#include \r\n" - "\0" -END - -3 TEXTINCLUDE -BEGIN - "\r\n" - "\0" -END - -#endif // APSTUDIO_INVOKED diff --git a/src/core/stdemail/src/commonheaders.cpp b/src/core/stdemail/src/commonheaders.cpp new file mode 100644 index 0000000000..95b2201163 --- /dev/null +++ b/src/core/stdemail/src/commonheaders.cpp @@ -0,0 +1,2 @@ +#include "commonheaders.h" + diff --git a/src/core/stdemail/src/commonheaders.h b/src/core/stdemail/src/commonheaders.h new file mode 100644 index 0000000000..c4aab03b84 --- /dev/null +++ b/src/core/stdemail/src/commonheaders.h @@ -0,0 +1,76 @@ +/* + +Miranda NG: the free IM client for Microsoft* Windows* + +Copyright (c) 2012-14 Miranda NG project (http://miranda-ng.org), +Copyright (c) 2000-12 Miranda IM project, +all portions of this codebase are copyrighted to the people +listed in contributors.txt. + +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; either version 2 +of the License, or (at your option) any later version. + +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, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ + +#define WINVER 0x0700 +#define _WIN32_WINNT 0x0700 +#define _WIN32_IE 0x0601 + +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "version.h" + +#include "../../resource.h" +#include "../stdplug.h" + +extern HINSTANCE hInst; diff --git a/src/core/stdemail/src/email.cpp b/src/core/stdemail/src/email.cpp new file mode 100644 index 0000000000..d73786d379 --- /dev/null +++ b/src/core/stdemail/src/email.cpp @@ -0,0 +1,79 @@ +/* + +Miranda NG: the free IM client for Microsoft* Windows* + +Copyright (c) 2012-14 Miranda NG project (http://miranda-ng.org), +Copyright (c) 2000-12 Miranda IM project, +all portions of this codebase are copyrighted to the people +listed in contributors.txt. + +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; either version 2 +of the License, or (at your option) any later version. + +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, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ +#include "commonheaders.h" + +static HGENMENU hEMailMenuItem; + +void SendEmailThread(void *szUrl) +{ + ShellExecuteA(NULL, "open", (char*)szUrl, "", "", SW_SHOW); + mir_free(szUrl); + return; +} + +static INT_PTR SendEMailCommand(WPARAM hContact, LPARAM lParam) +{ + DBVARIANT dbv; + char *szProto = GetContactProto(hContact); + if (szProto == NULL || db_get_s(hContact, szProto, "e-mail", &dbv)) { + if (db_get_s(hContact, "UserInfo", "Mye-mail0", &dbv)) { + MessageBox((HWND)lParam, TranslateT("User has not registered an e-mail address"), TranslateT("Send e-mail"), MB_OK); + return 1; + } + } + char *szUrl = (char*)mir_alloc(mir_strlen(dbv.pszVal)+8); + mir_strcpy(szUrl, "mailto:"); + mir_strcat(szUrl, dbv.pszVal); + mir_free(dbv.pszVal); + forkthread(SendEmailThread, 0, szUrl); + return 0; +} + +static int EMailPreBuildMenu(WPARAM hContact, LPARAM) +{ + bool bEnabled = true; + DBVARIANT dbv = { 0 }; + char *szProto = GetContactProto(hContact); + if (szProto == NULL || db_get_s(hContact, szProto, "e-mail", &dbv)) + if (db_get_s(hContact, "UserInfo", "Mye-mail0", &dbv)) + bEnabled = false; + + Menu_ShowItem(hEMailMenuItem, bEnabled); + if (dbv.pszVal) db_free(&dbv); + return 0; +} + +int LoadSendRecvEMailModule(void) +{ + CLISTMENUITEM mi = { sizeof(mi) }; + mi.position = -2000010000; + mi.icolibItem = GetSkinIconHandle(SKINICON_OTHER_SENDEMAIL); + mi.pszName = LPGEN("&E-mail"); + mi.pszService = MS_EMAIL_SENDEMAIL; + hEMailMenuItem = Menu_AddContactMenuItem(&mi); + + CreateServiceFunction(MS_EMAIL_SENDEMAIL, SendEMailCommand); + HookEvent(ME_CLIST_PREBUILDCONTACTMENU, EMailPreBuildMenu); + return 0; +} diff --git a/src/core/stdemail/src/main.cpp b/src/core/stdemail/src/main.cpp new file mode 100644 index 0000000000..4888cf08f1 --- /dev/null +++ b/src/core/stdemail/src/main.cpp @@ -0,0 +1,67 @@ +/* + +Standard e-mail urls launcher for Miranda NG + +Copyright (C) 2012-14 George Hazan + +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; either version 2 of the License, or +(at your option) any later version. + +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, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ + +#include "commonheaders.h" + +int LoadSendRecvEMailModule(void); + +HINSTANCE hInst; +int hLangpack; + +PLUGININFOEX pluginInfo = { + sizeof(PLUGININFOEX), + __PLUGIN_NAME, + MIRANDA_VERSION_DWORD, + __DESCRIPTION, + __AUTHOR, + __AUTHOREMAIL, + __COPYRIGHT, + __AUTHORWEB, + UNICODE_AWARE, + // {b774d10a-c761-11e1-8405-27e76188709b} + {0xb774d10a, 0xc761, 0x11e1, {0x84, 0x05, 0x27, 0xe7, 0x61, 0x88, 0x70, 0x9b }} +}; + +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) const MUUID MirandaInterfaces[] = { MIID_SREMAIL, MIID_LAST }; + +extern "C" int __declspec(dllexport) Load(void) +{ + mir_getLP(&pluginInfo); + + LoadSendRecvEMailModule(); + return 0; +} + +extern "C" int __declspec(dllexport) Unload(void) +{ + return 0; +} diff --git a/src/core/stdemail/src/version.h b/src/core/stdemail/src/version.h new file mode 100644 index 0000000000..d10b741558 --- /dev/null +++ b/src/core/stdemail/src/version.h @@ -0,0 +1,12 @@ +#include + +#define __FILEVERSION_STRING MIRANDA_VERSION_FILEVERSION +#define __VERSION_STRING MIRANDA_VERSION_STRING + +#define __PLUGIN_NAME "Standard Email module" +#define __FILENAME "stdemail.dll" +#define __DESCRIPTION "Core module for e-mail urls handling." +#define __AUTHOR "Miranda NG Development Team" +#define __AUTHOREMAIL "" +#define __AUTHORWEB "http://miranda-ng.org/p/StdEmail/" +#define __COPYRIGHT "© 2012 Miranda NG Development Team" diff --git a/src/core/stdemail/stdemail_10.vcxproj b/src/core/stdemail/stdemail_10.vcxproj index d2b7bee07f..234e74e475 100644 --- a/src/core/stdemail/stdemail_10.vcxproj +++ b/src/core/stdemail/stdemail_10.vcxproj @@ -199,22 +199,20 @@ - - Create - Create - Create - Create + + Create - - + + - + + - - + + diff --git a/src/core/stdemail/stdemail_10.vcxproj.filters b/src/core/stdemail/stdemail_10.vcxproj.filters index 6d0ae999f0..052e412801 100644 --- a/src/core/stdemail/stdemail_10.vcxproj.filters +++ b/src/core/stdemail/stdemail_10.vcxproj.filters @@ -15,13 +15,13 @@ - + Source Files - + Source Files - + Source Files @@ -29,15 +29,18 @@ Header Files - + + Header Files + + Header Files - + Resource Files - + Resource Files diff --git a/src/core/stdemail/stdemail_12.vcxproj b/src/core/stdemail/stdemail_12.vcxproj index a184f0558b..40b5e5ed57 100644 --- a/src/core/stdemail/stdemail_12.vcxproj +++ b/src/core/stdemail/stdemail_12.vcxproj @@ -202,22 +202,20 @@ - - Create - Create - Create - Create + + Create - - + + - + + - - + + diff --git a/src/core/stdemail/stdemail_12.vcxproj.filters b/src/core/stdemail/stdemail_12.vcxproj.filters index 6d0ae999f0..052e412801 100644 --- a/src/core/stdemail/stdemail_12.vcxproj.filters +++ b/src/core/stdemail/stdemail_12.vcxproj.filters @@ -15,13 +15,13 @@ - + Source Files - + Source Files - + Source Files @@ -29,15 +29,18 @@ Header Files - + + Header Files + + Header Files - + Resource Files - + Resource Files diff --git a/src/core/stdemail/version.h b/src/core/stdemail/version.h deleted file mode 100644 index b24b0fc046..0000000000 --- a/src/core/stdemail/version.h +++ /dev/null @@ -1,14 +0,0 @@ - -#include - -#define __FILEVERSION_STRING MIRANDA_VERSION_FILEVERSION -#define __VERSION_STRING MIRANDA_VERSION_STRING - -#define __PLUGIN_NAME "Standard Email module" -#define __INTERNAL_NAME "stdemail" -#define __FILENAME "stdemail.dll" -#define __DESCRIPTION "Core module for e-mail urls handling." -#define __AUTHOR "Miranda NG Development Team" -#define __AUTHOREMAIL "" -#define __AUTHORWEB "http://miranda-ng.org/p/StdEmail/" -#define __COPYRIGHT "© 2012 Miranda NG Development Team" diff --git a/src/core/stdemail/version.rc b/src/core/stdemail/version.rc deleted file mode 100644 index d1da5e8d6a..0000000000 --- a/src/core/stdemail/version.rc +++ /dev/null @@ -1,42 +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 "version.h" - -#ifdef _WIN32 -LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL -#endif //_WIN32 - -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 -- cgit v1.2.3