Show
Ignore:
Timestamp:
07/01/08 18:58:01 (5 months ago)
Author:
flynd
Message:

Marked old owner functions in user manager as deprecated. Updated daemon to use newer owner calls.

Files:
1 modified

Legend:

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

    r6370 r6382  
    12551255  ~CUserManager(); 
    12561256  bool Load(); 
    1257   void SetOwnerUin(unsigned long _nUin); 
    12581257 
    12591258  // For protocol plugins 
     
    12641263  ICQUser *FetchUser(const char *, unsigned long, unsigned short); 
    12651264  ICQOwner *FetchOwner(unsigned long, unsigned short); 
    1266   void DropOwner(unsigned long); 
    12671265 
    12681266  /** 
     
    12871285  ICQUser *FetchUser(unsigned long, unsigned short); 
    12881286  void DropUser(ICQUser *); 
    1289   ICQOwner *FetchOwner(unsigned short); 
    1290   void DropOwner(); 
    1291   unsigned long OwnerUin()  {return m_nOwnerUin; } 
    12921287  bool IsOnList(unsigned long nUin); 
     1288 
     1289  // Deprecated owner functions, to be removed 
     1290  void SetOwnerUin(unsigned long _nUin) __attribute__ ((deprecated)); 
     1291  unsigned long OwnerUin() __attribute__ ((deprecated)) { return icqOwnerUin(); } 
     1292  ICQOwner *FetchOwner(unsigned short) __attribute__ ((deprecated)); 
     1293  void DropOwner() __attribute__ ((deprecated)); 
     1294  void DropOwner(unsigned long) __attribute__ ((deprecated)); 
     1295 
     1296  /** 
     1297   * Convenience function to get icq owner as an unsigned long 
     1298   * Only meant to be used internally for icq protocol functions 
     1299   * 
     1300   * @return Icq owner 
     1301   */ 
     1302  unsigned long icqOwnerUin(); 
    12931303 
    12941304  /** 
     
    15021512  OwnerList m_vpcOwners; 
    15031513  ICQOwner *m_xOwner; 
    1504   unsigned long m_nOwnerUin; 
    15051514  unsigned short m_nUserListLockType; 
    15061515  unsigned short myGroupListLockType;