diff options
| author | Kenneth Anthony Giusti <kgiusti@apache.org> | 2013-11-25 18:47:16 +0000 |
|---|---|---|
| committer | Kenneth Anthony Giusti <kgiusti@apache.org> | 2013-11-25 18:47:16 +0000 |
| commit | 8f4c7e637f1baa622289ee36e0bda3792b0ee17d (patch) | |
| tree | 8ddb7374f3bfc0caf680c89e98117e1fd1962abb /qpid/cpp/include/qmf/Query.h | |
| parent | ba1949c68adb1291cc8065cae65091167ac589b6 (diff) | |
| download | qpid-python-8f4c7e637f1baa622289ee36e0bda3792b0ee17d.tar.gz | |
QPID-5369: Issue compile-time error if deprecated QMF Agent or Console API used by applications
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1545368 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include/qmf/Query.h')
| -rw-r--r-- | qpid/cpp/include/qmf/Query.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qpid/cpp/include/qmf/Query.h b/qpid/cpp/include/qmf/Query.h index c1264f8901..dbd28c12de 100644 --- a/qpid/cpp/include/qmf/Query.h +++ b/qpid/cpp/include/qmf/Query.h @@ -21,6 +21,11 @@ * */ +#if !defined(QMF_USE_DEPRECATED_API) && !defined(qmf2_EXPORTS) && !defined(SWIG) +# error "The API defined in this file has been DEPRECATED and will be removed in the future." +# error "Define 'QMF_USE_DEPRECATED_API' to enable continued use of the API." +#endif + #include <qmf/ImportExport.h> #include "qmf/Handle.h" #include "qpid/types/Variant.h" |
