Changeset 6397 for trunk/licq/include/licq_user.h
- Timestamp:
- 07/02/08 22:11:16 (5 months ago)
- Files:
-
- 1 modified
-
trunk/licq/include/licq_user.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/licq/include/licq_user.h
r6382 r6397 17 17 // Added for plugin convenience 18 18 #include "licq_constants.h" 19 20 // Define for marking functions as deprecated 21 #ifndef LICQ_DEPRECATED 22 # if defined(__GNUC__) && !defined(__INTEL_COMPILER) && (__GNUC__ - 0 > 3 || (__GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 >= 2)) 23 # define LICQ_DEPRECATED __attribute__ ((__deprecated__)) 24 # elif defined(_MSC_VER) && (_MSC_VER >= 1300) 25 # define LICQ_DEPRECATED __declspec(deprecated) 26 # else 27 # define LICQ_DEPRECATED 28 # endif 29 #endif 19 30 20 31 class TCPSocket; … … 1288 1299 1289 1300 // Deprecated owner functions, to be removed 1290 void SetOwnerUin(unsigned long _nUin) __attribute__ ((deprecated));1291 unsigned long OwnerUin() __attribute__ ((deprecated)){ return icqOwnerUin(); }1292 ICQOwner *FetchOwner(unsigned short) __attribute__ ((deprecated));1293 void DropOwner() __attribute__ ((deprecated));1294 void DropOwner(unsigned long) __attribute__ ((deprecated));1301 void SetOwnerUin(unsigned long _nUin) LICQ_DEPRECATED; 1302 unsigned long OwnerUin() LICQ_DEPRECATED { return icqOwnerUin(); } 1303 ICQOwner *FetchOwner(unsigned short) LICQ_DEPRECATED; 1304 void DropOwner() LICQ_DEPRECATED; 1305 void DropOwner(unsigned long) LICQ_DEPRECATED; 1295 1306 1296 1307 /**
