Changeset 6417 for trunk/licq/include/licq_user.h
- Timestamp:
- 07/04/08 05:44:34 (5 months ago)
- Files:
-
- 1 modified
-
trunk/licq/include/licq_user.h (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/licq/include/licq_user.h
r6398 r6417 431 431 { 432 432 public: 433 ICQUser(unsigned long id, char *filename);434 ICQUser(unsigned long id);435 433 ICQUser(const char *id, unsigned long ppid, char *filename); 436 434 ICQUser(const char *id, unsigned long ppid, bool bTempUser = false); … … 595 593 bool EnableSave() { return m_bEnableSave; } 596 594 bool ShowAwayMsg() { return m_bShowAwayMsg; } 597 unsigned long Uin() { return m_nUin; }598 char *UinString() { return m_szUinString; }599 595 unsigned short Sequence(bool = false); 600 596 char Mode() { return m_nMode; } … … 924 920 void Unlock(); 925 921 922 // Deprecated functions, to be removed 923 LICQ_DEPRECATED ICQUser(unsigned long id, char *filename); 924 LICQ_DEPRECATED ICQUser(unsigned long id); 925 LICQ_DEPRECATED unsigned long Uin() const; 926 LICQ_DEPRECATED const char* UinString() const { return m_szId; } 927 926 928 protected: 927 929 ICQUser() { /* ICQOwner inherited constructor - does nothing */ } … … 937 939 void LoadPictureInfo(); 938 940 void LoadLicqInfo(); 939 void Init(unsigned long nUin);940 941 void Init(const char *, unsigned long); 941 942 bool LoadInfo(); … … 956 957 void SetIdleSince(time_t t) { m_nIdleSince = t; } 957 958 void SetRegisteredTime(time_t t) { m_nRegisteredTime = t; } 959 960 // Deprecated functions, to be removed 961 LICQ_DEPRECATED void Init(unsigned long nUin); 958 962 959 963 CIniFile m_fConf; … … 973 977 unsigned short m_nPort, m_nLocalPort, m_nConnectionVersion; 974 978 unsigned short m_nTyping; 975 unsigned long m_nUin, 976 m_nStatus; 979 unsigned long m_nStatus; 977 980 UserGroupList myGroups; /**< List of user groups */ 978 981 unsigned long mySystemGroups; /**< Bitmask for system groups */ … … 986 989 char *m_szCustomAutoResponse; 987 990 char *m_szId; 988 char m_szUinString[13];989 991 bool m_bOnlineNotify, 990 992 m_bSendIntIp, … … 1105 1107 { 1106 1108 public: 1107 ICQOwner();1108 1109 ICQOwner(const char *, unsigned long); 1109 1110 virtual ~ICQOwner(); … … 1117 1118 void SetHideIp(bool b) { m_bHideIp = b; SaveLicqInfo(); } 1118 1119 void SetSavePassword(bool b) { m_bSavePassword = b; SaveLicqInfo(); } 1119 void SetUin(unsigned long n) { m_nUin = n; SaveLicqInfo(); }1120 1120 void SetId(const char *s) { SetString(&m_szId, s); SaveLicqInfo(); } 1121 1121 void SetRandomChatGroup(unsigned long n) { m_nRandomChatGroup = n; SaveLicqInfo(); } … … 1125 1125 unsigned long RandomChatGroup() { return m_nRandomChatGroup; } 1126 1126 unsigned long AddStatusFlags(unsigned long nStatus); 1127 1128 // Deprecated functions, to be removed 1129 LICQ_DEPRECATED void SetUin(unsigned long n); 1127 1130 1128 1131 // Server Side List functions … … 1292 1295 1293 1296 // ICQ Protocol only (from original Licq) 1294 unsigned long AddUser(ICQUser *); 1295 void RemoveUser(unsigned long); 1296 ICQUser *FetchUser(unsigned long, unsigned short); 1297 void AddUser(ICQUser *); 1297 1298 void DropUser(ICQUser *); 1298 bool IsOnList(unsigned long nUin); 1299 1300 // Deprecated user functions, to be removed 1301 LICQ_DEPRECATED ICQUser *FetchUser(unsigned long, unsigned short); 1302 LICQ_DEPRECATED void RemoveUser(unsigned long); 1303 LICQ_DEPRECATED bool IsOnList(unsigned long nUin); 1299 1304 1300 1305 // Deprecated owner functions, to be removed … … 1483 1488 1484 1489 // Deprecated group manipulation functions 1485 void AddUserToGroup(unsigned long _nUin, unsigned short _nGroup);1486 void RemoveUserFromGroup(unsigned long _nUin, unsigned short _nGroup);1490 LICQ_DEPRECATED void AddUserToGroup(unsigned long _nUin, unsigned short _nGroup); 1491 LICQ_DEPRECATED void RemoveUserFromGroup(unsigned long _nUin, unsigned short _nGroup); 1487 1492 1488 1493 /**
