aboutsummaryrefslogtreecommitdiff
path: root/tests/GenerateSipBindings/cpplib.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2017-01-13 18:06:28 +0000
committerStephen Kelly <steveire@gmail.com>2017-01-13 18:06:28 +0000
commit8cf274317b437717f7e114e463de0652b973841b (patch)
tree13a8aaad17182a5abd29a7774a3f55a093c600b6 /tests/GenerateSipBindings/cpplib.cpp
parentaf9f502f9629766130e171632d2072d563661959 (diff)
downloadextra-cmake-modules-8cf274317b437717f7e114e463de0652b973841b.tar.gz
extra-cmake-modules-8cf274317b437717f7e114e463de0652b973841b.tar.bz2
Bindings: Add rules engine for typedefs
Currently this is rather simple, allowing only matching typedefs by name. If we need more later, we can extend the interface. This will make it possible to add bindings for the K18n framework.
Diffstat (limited to 'tests/GenerateSipBindings/cpplib.cpp')
-rw-r--r--tests/GenerateSipBindings/cpplib.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/GenerateSipBindings/cpplib.cpp b/tests/GenerateSipBindings/cpplib.cpp
index 7eb15939..f996c998 100644
--- a/tests/GenerateSipBindings/cpplib.cpp
+++ b/tests/GenerateSipBindings/cpplib.cpp
@@ -161,3 +161,10 @@ int anotherCustomMethod(QList<int> const& nums)
{
return 0;
}
+
+void TypedefUser::setTagPattern(const QString &tagName,
+ SomeNS::TagFormatter formatter,
+ int leadingNewlines)
+{
+
+}