Changeset 6418 for trunk/licq/include/licq_utility.h
- Timestamp:
- 07/04/08 06:05:11 (5 months ago)
- Files:
-
- 1 modified
-
trunk/licq/include/licq_utility.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/licq/include/licq_utility.h
r6347 r6418 6 6 7 7 class ICQUser; 8 9 // Define for marking functions as deprecated 10 #ifndef LICQ_DEPRECATED 11 # if defined(__GNUC__) && !defined(__INTEL_COMPILER) && (__GNUC__ - 0 > 3 || (__GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 >= 2)) 12 # define LICQ_DEPRECATED __attribute__ ((__deprecated__)) 13 # elif defined(_MSC_VER) && (_MSC_VER >= 1300) 14 # define LICQ_DEPRECATED __declspec(deprecated) 15 # else 16 # define LICQ_DEPRECATED 17 # endif 18 #endif 8 19 9 20 … … 61 72 EWinType WinType() { return m_eWinType; } 62 73 63 bool SetFields(unsigned long _nUin);64 74 bool SetFields(const char *szId, unsigned long nPPID); 65 75 void SetUserFields(const std::vector<const char *> &_vszUserFields); … … 71 81 72 82 bool Exception() { return bException; } 83 84 // Deprecated functions, to be removed 85 LICQ_DEPRECATED bool SetFields(unsigned long _nUin); 73 86 74 87 protected:
