aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/smart-ptr.options
diff options
context:
space:
mode:
Diffstat (limited to 'odb/qt/smart-ptr.options')
-rw-r--r--odb/qt/smart-ptr.options16
1 files changed, 16 insertions, 0 deletions
diff --git a/odb/qt/smart-ptr.options b/odb/qt/smart-ptr.options
new file mode 100644
index 0000000..f9de219
--- /dev/null
+++ b/odb/qt/smart-ptr.options
@@ -0,0 +1,16 @@
+# file : odb/qt/smart-ptr.options
+# author : Constantin Michael <constantin@codesynthesis.com>
+# copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+--profile qt/version
+
+# Make QSharedPointer the default object pointer.
+#
+--hxx-prologue '#include <QSharedPointer>'
+--default-pointer QSharedPointer
+
+# Include pointer traits.
+#
+--odb-epilogue '#include <odb/qt/smart-ptr/pointer-traits.hxx>'
+--hxx-prologue '#include <odb/qt/smart-ptr/pointer-traits.hxx>'