From f59b2e28c7ab8707750e56a140023af08d42390e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 30 Dec 2017 15:57:14 +0100 Subject: kopete: Remove AIM protocol AIM network has been shutdown in 2017-12-15 This resolves Bug 2846 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit dc34f9c39105b0fe20ba45c064a08406084acbe2) --- kopete/protocols/oscar/aim/aimprotocol.h | 86 -------------------------------- 1 file changed, 86 deletions(-) delete mode 100644 kopete/protocols/oscar/aim/aimprotocol.h (limited to 'kopete/protocols/oscar/aim/aimprotocol.h') diff --git a/kopete/protocols/oscar/aim/aimprotocol.h b/kopete/protocols/oscar/aim/aimprotocol.h deleted file mode 100644 index 26d092b6..00000000 --- a/kopete/protocols/oscar/aim/aimprotocol.h +++ /dev/null @@ -1,86 +0,0 @@ -/* - oscarprotocol.h - Oscar Protocol Plugin - - Copyright (c) 2002 by Tom Linsky - Copyright (c) 2005 by Matt Rogers - Kopete (c) 2002 by the Kopete developers - - ************************************************************************* - * * - * 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. * - * * - ************************************************************************* - */ - -#ifndef AIMPROTOCOL_H -#define AIMPROTOCOL_H - -#include "kopeteprotocol.h" -#include "kopetecontactproperty.h" -#include "kopetemimetypehandler.h" -#include "kopeteonlinestatus.h" - -#include - -namespace Kopete -{ -class OnlineStatus; -} - -class AIMProtocolHandler : public Kopete::MimeTypeHandler -{ -public: - AIMProtocolHandler(); - void handleURL( const KURL & url ) const; -}; - -class AIMProtocol : public Kopete::Protocol -{ - Q_OBJECT - - -public: - AIMProtocol( TQObject *parent, const char *name, const TQStringList &args ); - virtual ~AIMProtocol(); - /** - * Return the active instance of the protocol - * because it's a singleton, can only be used inside AIM classes, not in oscar lib - */ - static AIMProtocol *protocol(); - - bool canSendOffline() const { return false; } - - virtual Kopete::Contact *deserializeContact( Kopete::MetaContact *metaContact, - const TQMap &serializedData, - const TQMap &addressBookData ); - - AddContactPage*createAddContactWidget( TQWidget *parent, Kopete::Account *account ); - KopeteEditAccountWidget* createEditAccountWidget( Kopete::Account *account, TQWidget *parent ); - Kopete::Account* createNewAccount( const TQString &accountId ); - - /** - * The set of online statuses that AIM contacts can have - */ - const Kopete::OnlineStatus statusOnline; - const Kopete::OnlineStatus statusOffline; - const Kopete::OnlineStatus statusAway; - const Kopete::OnlineStatus statusWirelessOnline; - const Kopete::OnlineStatus statusWirelessAway; - const Kopete::OnlineStatus statusConnecting; - - const Kopete::ContactPropertyTmpl awayMessage; - const Kopete::ContactPropertyTmpl clientFeatures; - const Kopete::ContactPropertyTmpl clientProfile; - const Kopete::ContactPropertyTmpl iconHash; - -private: - /** The active instance of oscarprotocol */ - static AIMProtocol *protocolStatic_; - AIMProtocolHandler protohandler; -}; - -#endif -//kate: tab-width 4; indent-mode csands; -- cgit v1.2.1