From 91ba38a1df42b56caa73babc90ffa4f674c000d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 10 Dec 2019 01:24:17 +0100 Subject: kopete: Restore the AIM protocol because a replacement AIM server was created. This reverts commits 036b0229db and dc34f9c391. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kopete/protocols/oscar/liboscar/client.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'kopete/protocols/oscar/liboscar/client.h') diff --git a/kopete/protocols/oscar/liboscar/client.h b/kopete/protocols/oscar/liboscar/client.h index f71a8333..71cf668a 100644 --- a/kopete/protocols/oscar/liboscar/client.h +++ b/kopete/protocols/oscar/liboscar/client.h @@ -68,6 +68,7 @@ public: FatalProtocolError = 3 }; + enum AIMStatus { Online = 0, Away }; enum ICQStatus { ICQOnline = 0, ICQAway, ICQNotAvailable, ICQOccupied, ICQDoNotDisturb, ICQFreeForChat }; /************* @@ -101,6 +102,8 @@ public: /** Logout and disconnect */ void close(); + /** Set our status for AIM */ + void setStatus( AIMStatus status, const TQString &message = TQString() ); /** Set our status for ICQ */ void setStatus( DWORD status, const TQString &message = TQString() ); @@ -237,6 +240,18 @@ public: */ TQValueList chatExchangeList() const; + /** + * Request the aim profile + * \param contact the contact to get info for + */ + void requestAIMProfile( const TQString& contact ); + + /** + * Request the aim away message + * \param contact the contact to get info for + */ + void requestAIMAwayMessage( const TQString& contact ); + /** * Add the icq away message request to queue * \param contact the contact to get info for @@ -258,6 +273,9 @@ public: //! Run a UIN search void uinSearch( const TQString& uin ); + //! Update the user's AIM profile + void updateProfile( const TQString& profile ); + //! Get buddy icon information for a person void requestBuddyIcon( const TQString& user, const TQByteArray& hash, BYTE hashType ); @@ -326,6 +344,10 @@ public: /** Change the current status message w/o changing status */ void setStatusMessage( const TQString &message ); + /** ICQ Settings */ + bool isIcq() const; + void setIsIcq( bool isIcq ); + /** Host's IP address */ TQCString ipAddress() const; -- cgit v1.2.1