diff options
author | Stephen Kelly <steveire@gmail.com> | 2017-01-14 21:42:50 +0000 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2017-01-15 11:18:34 +0000 |
commit | 8c347c61abafa68e247ff4664ae658cfa15af932 (patch) | |
tree | 972eca5ade46d3a0c213d854f6f8acfe1881a3d2 /tests/GenerateSipBindings/cpplib.h | |
parent | 3c31028dad2f9c53bea6630fd0da127a6da0d610 (diff) | |
download | extra-cmake-modules-8c347c61abafa68e247ff4664ae658cfa15af932.tar.gz extra-cmake-modules-8c347c61abafa68e247ff4664ae658cfa15af932.tar.bz2 |
Bindings: Use lists in function API instead of strings
Custom rules should be able to deal with lists in these cases. This is
already the case for function parameters.
Diffstat (limited to 'tests/GenerateSipBindings/cpplib.h')
-rw-r--r-- | tests/GenerateSipBindings/cpplib.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/GenerateSipBindings/cpplib.h b/tests/GenerateSipBindings/cpplib.h index 34167ad3..9b9adcba 100644 --- a/tests/GenerateSipBindings/cpplib.h +++ b/tests/GenerateSipBindings/cpplib.h @@ -6,6 +6,7 @@ #include <QtCore/QStringList> #include <QtCore/QMap> #include <QtCore/QCoreApplication> +#include <QtCore/QSharedData> #include <functional> @@ -106,6 +107,12 @@ private: HasPrivateDefaultCtor(int param = 0); }; +class Shared : public QSharedData +{ +public: + Shared(const Shared& other); +}; + namespace SomeNS { class NonCopyableInNS |