summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/oscar/liboscar/client.h')
-rw-r--r--kopete/protocols/oscar/liboscar/client.h22
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;