diff options
Diffstat (limited to 'Godeps/_workspace/src/github.com/obscuren/qml/cpp/govaluetype.h')
-rw-r--r-- | Godeps/_workspace/src/github.com/obscuren/qml/cpp/govaluetype.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/Godeps/_workspace/src/github.com/obscuren/qml/cpp/govaluetype.h b/Godeps/_workspace/src/github.com/obscuren/qml/cpp/govaluetype.h deleted file mode 100644 index 6007d394c..000000000 --- a/Godeps/_workspace/src/github.com/obscuren/qml/cpp/govaluetype.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef GOVALUETYPE_H -#define GOVALUETYPE_H - -#include "govalue.h" - -template <int N> -class GoValueType : public GoValue -{ -public: - - GoValueType() - : GoValue(hookGoValueTypeNew(this, typeSpec), typeInfo, 0) {}; - - static void init(GoTypeInfo *info, GoTypeSpec_ *spec) - { - typeInfo = info; - typeSpec = spec; - static_cast<QMetaObject &>(staticMetaObject) = *metaObjectFor(typeInfo); - }; - - static GoTypeSpec_ *typeSpec; - static GoTypeInfo *typeInfo; - static QMetaObject staticMetaObject; -}; - -template <int N> -class GoPaintedValueType : public GoPaintedValue -{ -public: - - GoPaintedValueType() - : GoPaintedValue(hookGoValueTypeNew(this, typeSpec), typeInfo, 0) {}; - - static void init(GoTypeInfo *info, GoTypeSpec_ *spec) - { - typeInfo = info; - typeSpec = spec; - static_cast<QMetaObject &>(staticMetaObject) = *metaObjectFor(typeInfo); - }; - - static GoTypeSpec_ *typeSpec; - static GoTypeInfo *typeInfo; - static QMetaObject staticMetaObject; -}; - -#endif // GOVALUETYPE_H - -// vim:ts=4:sw=4:et |