aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/smart-ptr.options
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-04-12 17:52:37 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-04-22 14:39:42 +0200
commit7db38e8c622c2cd23d7a38e3cf70cb1b00dbc838 (patch)
tree38150a1912a234ec28c84395858ad2a82019cfaf /odb/qt/smart-ptr.options
parent621bc135b9825fc9f18ada204f67d3800c5f6fda (diff)
Add qt/smart-ptr implementation
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>'