summaryrefslogtreecommitdiff
path: root/TelepathyQt/WeakPtr
diff options
context:
space:
mode:
authorAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2011-12-02 01:20:14 -0200
committerAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2011-12-02 01:24:48 -0200
commit399da2c89e9f7ea43804d4afbd094ee17e3dc649 (patch)
tree83ca598be82a657dfe8f7bd49430056b336a4088 /TelepathyQt/WeakPtr
parent4530ffc84bff124877b5390e59a06b51278cdc65 (diff)
Reinstate WeakPtr and make Shared/WeakPtr thread-safe.
Diffstat (limited to 'TelepathyQt/WeakPtr')
-rw-r--r--TelepathyQt/WeakPtr13
1 files changed, 13 insertions, 0 deletions
diff --git a/TelepathyQt/WeakPtr b/TelepathyQt/WeakPtr
new file mode 100644
index 00000000..61352707
--- /dev/null
+++ b/TelepathyQt/WeakPtr
@@ -0,0 +1,13 @@
+#ifndef _TelepathyQt_WeakPtr_HEADER_GUARD_
+#define _TelepathyQt_WeakPtr_HEADER_GUARD_
+
+#ifndef IN_TP_QT_HEADER
+#define IN_TP_QT_HEADER
+#endif
+
+#include <TelepathyQt/shared-ptr.h>
+
+#undef IN_TP_QT_HEADER
+
+#endif
+// vim:set ft=cpp: