Show
Ignore:
Timestamp:
05/05/08 16:31:53 (7 months ago)
Author:
emostar
Message:

Add the patch by Sergey Kononenko (Message-ID: <20080122012616.48112055@…>)
Included the following additions:

  • Add support for AIM (not all users yet)
  • Fix a few memory leaks
  • Rename SSBI to BART
  • Add constants for BART Types
  • Add support to qt4-gui
  • Use boost in a few cases
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/licq/include/licq_icqd.h

    r6180 r6181  
    4343class INetSocket; 
    4444class ProxyServer; 
     45class COscarService; 
    4546class CReverseConnectToUserData; 
    4647class CMSN; 
     
    300301    const char *szFaxNumber, const char *szAddress, const char *szCellularNumber, 
    301302    const char *szZipCode, unsigned short nCountryCode, bool bHideEmail); 
     303 
     304  unsigned long ProtoRequestPicture(const char *szId, unsigned long nPPID); 
    302305 
    303306  unsigned long ProtoOpenSecureChannel(const char *szId, unsigned long nPPID); 
     
    476479  void icqTypingNotification(const char *_szId, bool _bActive); 
    477480  void icqCheckInvisible(const char *_szId); 
     481  void icqRequestService(unsigned short nFam); 
    478482 
    479483  // Visible/Invisible/Ignore list functions 
     
    516520  char *ProtoPluginName(unsigned long); 
    517521 
     522  EDaemonStatus Status() { return m_eStatus; } 
     523 
    518524  void PluginUIViewEvent(const char *szId, unsigned long nPPID ) { 
    519525    PushPluginSignal(new CICQSignal(SIGNAL_UI_VIEWEVENT, 0, szId, nPPID, 0)); 
     
    569575  // Proxy options 
    570576  void InitProxy(); 
     577  ProxyServer *CreateProxy(); 
    571578  bool ProxyEnabled() {  return m_bProxyEnabled;  } 
     579  ProxyServer *GetProxy() {  return m_xProxy;  } 
    572580  void SetProxyEnabled(bool b) {  m_bProxyEnabled = b;  } 
    573581  unsigned short ProxyType() {  return m_nProxyType;  } 
     
    611619  // ICQ options 
    612620  bool UseServerContactList()         { return m_bUseSS; } 
     621  bool UseServerSideBuddyIcons()      { return m_bUseBART; } 
    613622  bool SendTypingNotification()       { return m_bSendTN; } 
    614623 
    615   void SetUseServerContactList(bool b)   { m_bUseSS = b; } 
    616   void SetSendTypingNotification(bool b) { m_bSendTN = b; } 
     624  void SetUseServerContactList(bool b)    { m_bUseSS = b; } 
     625  void SetUseServerSideBuddyIcons(bool b); 
     626  void SetSendTypingNotification(bool b)  { m_bSendTN = b; } 
    617627 
    618628  // Misc functions 
     
    702712  ProxyServer *m_xProxy; 
    703713 
     714  // Services 
     715  COscarService *m_xBARTService; 
     716 
    704717  // Misc 
    705718  bool m_bUseSS; // server side list 
     719  bool m_bUseBART; // server side buddy icons 
    706720  bool m_bSendTN; // Send typing notifications 
    707721  bool m_bReconnectAfterUinClash; // reconnect after uin has been used from another location? 
     
    731745            thread_ping, 
    732746            thread_updateusers, 
     747            thread_ssbiservice, 
    733748            thread_shutdown; 
    734749 
     
    764779  bool hasServerEvent(unsigned long); 
    765780  void ProcessDoneEvent(ICQEvent *); 
     781  void PushEvent(ICQEvent *); 
    766782  void PushExtendedEvent(ICQEvent *); 
    767783  void PushPluginSignal(CICQSignal *); 
     
    832848  friend void *ProcessRunningEvent_Client_tep(void *p); 
    833849  friend void *ProcessRunningEvent_Server_tep(void *p); 
     850  friend void *OscarServiceSendQueue_tep(void *p); 
    834851  friend void *Shutdown_tep(void *p); 
    835852  friend void *ConnectToServer_tep(void *s); 
    836853  friend class ICQUser; 
    837854  friend class CSocketManager; 
     855  friend class COscarService; 
    838856  friend class CChatManager; 
    839857  friend class CFileTransferManager;