From 40781d33923f2d80c080cc15befc980e008b6687 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 23 Feb 2013 11:10:05 +0000 Subject: projects fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@3719 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ContactsPlus/src/contacts.cpp | 31 ------------------------------- plugins/ContactsPlus/src/main.cpp | 6 ++++++ 2 files changed, 6 insertions(+), 31 deletions(-) delete mode 100644 plugins/ContactsPlus/src/contacts.cpp (limited to 'plugins/ContactsPlus/src') diff --git a/plugins/ContactsPlus/src/contacts.cpp b/plugins/ContactsPlus/src/contacts.cpp deleted file mode 100644 index a7ba2cdfbb..0000000000 --- a/plugins/ContactsPlus/src/contacts.cpp +++ /dev/null @@ -1,31 +0,0 @@ -// -------------------------------------------------------------------------- -// Contacts+ for Miranda Instant Messenger -// _______________________________________ -// -// Copyright © 2002 Dominus Procellarum -// Copyright © 2004-2008 Joe Kucera -// -// 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 "contacts.h" - - -bool WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) -{ - hInst = hinstDLL; - return TRUE; -} diff --git a/plugins/ContactsPlus/src/main.cpp b/plugins/ContactsPlus/src/main.cpp index a7e3855232..84c42bca68 100644 --- a/plugins/ContactsPlus/src/main.cpp +++ b/plugins/ContactsPlus/src/main.cpp @@ -59,6 +59,12 @@ PLUGININFOEX pluginInfo = { {0x0324785E, 0x74CE, 0x4600, {0xB7, 0x81, 0x85, 0x17, 0x73, 0xB3, 0xEF, 0xC5}} }; +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + hInst = hinstDLL; + return TRUE; +} + static int HookDBEventAdded(WPARAM wParam, LPARAM lParam) { HANDLE hContact = (HANDLE)wParam; -- cgit v1.2.3