From 069f8db5991fdde95d30aacc8c00ffbdca0a8df4 Mon Sep 17 00:00:00 2001 From: Szymon Tokarz Date: Wed, 17 Oct 2012 22:02:15 +0000 Subject: \protocols\Tlen - removed tlen_czaty.dll plugin (former mucc.dll). Service for this plugin was turned off by o2.pl. In case of service reactivation this plugin will be restored. - plugin version updated git-svn-id: http://svn.miranda-ng.org/main/trunk@1973 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tlen/tlen_czaty/src/mucc.cpp | 166 --------------------------------- 1 file changed, 166 deletions(-) delete mode 100644 protocols/Tlen/tlen_czaty/src/mucc.cpp (limited to 'protocols/Tlen/tlen_czaty/src/mucc.cpp') diff --git a/protocols/Tlen/tlen_czaty/src/mucc.cpp b/protocols/Tlen/tlen_czaty/src/mucc.cpp deleted file mode 100644 index cca6980691..0000000000 --- a/protocols/Tlen/tlen_czaty/src/mucc.cpp +++ /dev/null @@ -1,166 +0,0 @@ -/* - -MUCC Group Chat GUI Plugin for Miranda NG -Copyright (C) 2004 Piotr Piastucki - -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 "../../src/commons.h" -#include "mucc.h" -#include "mucc_services.h" -#include "HelperDialog.h" -#include "Options.h" -#include "Utils.h" - -char *muccModuleName; -HINSTANCE hInst; -HANDLE hHookEvent = NULL; -HIMAGELIST hImageList = NULL; -HICON muccIcon[MUCC_ICON_TOTAL]; -int hLangpack; -static int ModulesLoaded(WPARAM wParam, LPARAM lParam); -static int PreShutdown(WPARAM wParam, LPARAM lParam); - -PLUGININFOEX pluginInfoEx = { - sizeof(PLUGININFOEX), - "Tlen Czaty", - PLUGIN_MAKE_VERSION(MUCC_MAJOR_VERSION,MUCC_MINOR_VERSION,MUCC_RELEASE_NUM,MUCC_BUILD_NUM), - "Group chats GUI plugin for Miranda NG (formerly known as mucc.dll) (version: " MUCC_VERSION_STRING ")", - "Piotr Piastucki", - "the_leech@users.berlios.de", - "(c) 2004-2012 Piotr Piastucki", - "http://miranda-ng.org/", - UNICODE_AWARE, - {0xadd9390c, 0x1dd4, 0x4c0d, { 0x9b, 0xa9, 0xcc, 0x76, 0x5d, 0x3d, 0xe5, 0x97 }} -}; - -extern "C" BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved) -{ - hInst = hModule; - return TRUE; -} - -extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD mirandaVersion) -{ - return &pluginInfoEx; -} - -#ifndef MIID_TLEN_MUCC -#define MIID_TLEN_MUCC { 0xba658997, 0x0bce, 0x4f96, { 0xba, 0x48, 0x54, 0x55, 0x34, 0x16, 0x73, 0xea } } -#endif - -extern "C" __declspec(dllexport) const MUUID interfaces[] = { - MIID_TLEN_MUCC, - MIID_LAST - }; - -extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) -{ - return interfaces; -} - - -static void LoadIcons() { - int i; - static int iconList[] = { - IDI_CHAT, - IDI_GLOBALOWNER, - IDI_OWNER, - IDI_ADMIN, - IDI_REGISTERED, - IDI_R_MODERATED, - IDI_R_MEMBERS, - IDI_R_ANONYMOUS, - IDI_PREV, - IDI_NEXT, - IDI_SEARCH, - IDI_BOLD, - IDI_ITALIC, - IDI_UNDERLINE, - IDI_OPTIONS, - IDI_INVITE, - IDI_ADMINISTRATION, - IDI_SMILEY, - IDI_MESSAGE - - }; - for (i=0; i