Changeset 6180 for trunk/console
- Timestamp:
- 05/05/08 05:45:14 (7 months ago)
- Location:
- trunk/console/src
- Files:
-
- 2 modified
-
console.cpp (modified) (4 diffs)
-
console.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/console/src/console.cpp
r6176 r6180 568 568 * CLicqConsole::AddEventTag 569 569 *-------------------------------------------------------------------------*/ 570 void CLicqConsole::AddEventTag(c har *_szId, unsigned long _nPPID, unsigned long _nEventTag)570 void CLicqConsole::AddEventTag(const char* _szId, unsigned long _nPPID, unsigned long _nEventTag) 571 571 { 572 572 if (!_szId || !_nPPID || !_nEventTag) … … 811 811 { 812 812 ICQUser *u = NULL; 813 CUserEvent *ue = e->UserEvent();813 const CUserEvent* ue = e->UserEvent(); 814 814 if (e->SubResult() == ICQ_TCPxACK_RETURN) 815 815 { … … 828 828 else if(e->SubCommand() == ICQ_CMDxSUB_FILE) 829 829 { 830 CExtendedAck *ea = e->ExtendedAck();830 const CExtendedAck* ea = e->ExtendedAck(); 831 831 832 832 if( ea == NULL || ue == NULL) … … 848 848 // For now don't check for a chat subcommand.. 849 849 // Invoke a file transfer manager here 850 CEventFile *f = (CEventFile *)ue;850 const CEventFile* f = dynamic_cast<const CEventFile *>(ue); 851 851 CFileTransferManager *ftman = new CFileTransferManager(licqDaemon, 852 852 e->Uin()); -
trunk/console/src/console.h
r6176 r6180 113 113 void SwitchToCon(unsigned short nCon); 114 114 void CreateUserList(); 115 void AddEventTag(char *, unsigned long, unsigned long); 115 void AddEventTag(const char* _szId, unsigned long _nPPID, 116 unsigned long _nEventTag); 116 117 117 118 void InputCommand(int cIn);
