diff options
author | Slávek Banko <[email protected]> | 2019-12-10 01:24:17 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-12-10 18:54:30 +0100 |
commit | dd43402365ac82e6f28d373ea857a38f473e9f45 (patch) | |
tree | 8a4825ac0df9d8f1f3f3685a9e0fd5f96d5e274d /kopete/protocols/oscar/liboscar/client.h | |
parent | 3ca6259d5b5b41ecce9759373714bdc57ff563d8 (diff) | |
download | tdenetwork-dd43402365ac82e6f28d373ea857a38f473e9f45.tar.gz tdenetwork-dd43402365ac82e6f28d373ea857a38f473e9f45.zip |
kopete: Restore the AIM protocol because a replacement AIM server was created.
This reverts commits 036b0229db and dc34f9c391.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 91ba38a1df42b56caa73babc90ffa4f674c000d4)
Diffstat (limited to 'kopete/protocols/oscar/liboscar/client.h')
-rw-r--r-- | kopete/protocols/oscar/liboscar/client.h | 22 |
1 files changed, 22 insertions, 0 deletions
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() ); @@ -238,6 +241,18 @@ public: TQValueList<int> 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; |