Changeset 6217
- Timestamp:
- 05/26/08 03:39:31 (6 months ago)
- Location:
- trunk/licq
- Files:
-
- 7 modified
-
include/licq_events.h (modified) (1 diff)
-
include/licq_icqd.h (modified) (4 diffs)
-
include/licq_translate.h (modified) (2 diffs)
-
include/licq_user.h (modified) (5 diffs)
-
src/icqd-srv.cpp (modified) (1 diff)
-
src/translate.cpp (modified) (1 diff)
-
src/user.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/licq/include/licq_events.h
r6199 r6217 7 7 8 8 #include <stdlib.h> 9 #include <vector> 10 11 using std::vector; 9 12 10 13 11 class CPacket; -
trunk/licq/include/licq_icqd.h
r6181 r6217 15 15 #include <list> 16 16 #include <map> 17 #include <deque>18 17 #include <string> 19 18 #include <algorithm> 20 #include < stdarg.h>21 #include < stdio.h>19 #include <cstdarg> 20 #include <cstdio> 22 21 23 22 #include "licq_events.h" … … 29 28 #include "licq_protoplugind.h" 30 29 31 using std::string;32 30 33 31 class CProtoPlugin; … … 131 129 unsigned long CID() { return m_nCID; } 132 130 133 st ring GetUser(int n) { return m_vUsers[n]; }131 std::string GetUser(int n) { return m_vUsers[n]; } 134 132 135 133 private: … … 143 141 unsigned long m_nPPID; 144 142 unsigned long m_nCID; 145 vector<string> m_vUsers;143 std::vector<std::string> m_vUsers; 146 144 147 145 static unsigned long s_nCID; -
trunk/licq/include/licq_translate.h
r6119 r6217 11 11 #include <string> 12 12 13 using namespace std;14 13 15 14 class CTranslator … … 44 43 char* RNToN(const char* array); 45 44 46 bool utf16to8(unsigned long c, st ring &s);45 bool utf16to8(unsigned long c, std::string &s); 47 46 48 47 protected: -
trunk/licq/include/licq_user.h
r6181 r6217 3 3 4 4 #include <cstdlib> 5 #include <vector> 5 #include <cstring> 6 #include <ctime> 6 7 #include <list> 7 8 #include <map> 8 9 #include <string> 9 #include <cstring> 10 11 #include <time.h> 10 #include <vector> 11 12 12 13 13 #include "pthread_rdwr.h" … … 17 17 #include "licq_file.h" 18 18 #include "licq_icq.h" 19 20 using std::map;21 using std::string;22 19 23 20 class TCPSocket; … … 522 519 523 520 // Dynamic info fields for protocol plugins 524 st ring GetPPField(conststring &);521 std::string GetPPField(const std::string &); 525 522 526 523 // Licq Info … … 693 690 694 691 // Dynamic info fields for protocol plugins 695 bool SetPPField(const st ring &, conststring &);692 bool SetPPField(const std::string &, const std::string &); 696 693 697 694 // Status … … 959 956 960 957 // Dynamic info fields for protocol plugins 961 map<string,string> m_mPPFields;958 std::map<std::string, std::string> m_mPPFields; 962 959 963 960 // Protocol ID -
trunk/licq/src/icqd-srv.cpp
r6196 r6217 42 42 #include "licq_countrycodes.h" 43 43 #include "licq_protoplugind.h" 44 45 using namespace std; 44 46 45 47 void CICQDaemon::ProtoAddUser(const char *_szId, unsigned long _nPPID, -
trunk/licq/src/translate.cpp
r6195 r6217 29 29 #include "licq_log.h" 30 30 #include "licq_icq.h" 31 32 using namespace std; 31 33 32 34 CTranslator gTranslator; -
trunk/licq/src/user.cpp
r6214 r6217 43 43 #include "pthread_rdwr.h" 44 44 45 using std::vector;45 using namespace std; 46 46 47 47 ICQUserCategory::ICQUserCategory(UserCat uc)
