diff options
| author | Linus Jahn <lnj@kaidan.im> | 2019-09-28 00:14:13 +0200 |
|---|---|---|
| committer | LNJ <lnj@kaidan.im> | 2019-10-14 21:33:09 +0200 |
| commit | a6c90186b4f95183a8b40e1c44dc4b4bdb48cbc4 (patch) | |
| tree | 08690c56ae5294deb9285fecd3b3ab34b3e2e986 /examples/example_1_echoClient/example_1_echoClient.cpp | |
| parent | 438ae3683012c7e2e128c6e56980aa3b344d1a48 (diff) | |
Add deprecation system similiar to Qt's
This adds the QXMPP_DISABLE_DEPRECATED_BEFORE option and a
QXMPP_DEPRECATED_SINCE(major, minor) macro.
They work like their Qt equivalent:
- QXMPP_DISABLE_DEPRECATED_BEFORE defines the version number of source
compatibility to be kept with. By default this is the major version
(e.g. QXmpp 1.0.0)
- QXMPP_DEPRECATED_SINCE(major, minor) returns true, if functions that got
deprecated at this version should still be included.
Diffstat (limited to 'examples/example_1_echoClient/example_1_echoClient.cpp')
0 files changed, 0 insertions, 0 deletions
