Changeset 6180 for trunk/osd

Show
Ignore:
Timestamp:
05/05/08 05:45:14 (7 months ago)
Author:
flynd
Message:

Added const declarations to event classes and fixed (hopefully) everything else that broke.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/osd/src/licq-osd.cpp

    r5443 r6180  
    7777#ifdef CP_TRANSLATE 
    7878    const char *get_iconv_encoding_name(const char *licq_encoding_name); 
    79     char *my_translate(unsigned long uin, const char *msg, char *userenc); 
     79char* my_translate(unsigned long uin, const char* msg, const char* userenc); 
    8080#endif 
    8181 
     
    501501        { 
    502502//#ifdef CVSLICQ 
    503         char *szId = s->Id(); 
     503        const char* szId = s->Id(); 
    504504        unsigned long nPPID = s->PPID(); 
    505505        u = gUserManager.FetchUser(szId, nPPID, LOCK_R); 
     
    785785// CICQSignal is needed to get the User for this message - 
    786786// some day i will do this more elegant 
    787 char *my_translate(unsigned long uin, const char *msg, char *userenc) 
     787char* my_translate(unsigned long uin, const char* msg, const char* userenc) 
    788788{ 
    789789    // will be deleted outside of this function