diff options
Diffstat (limited to 'Tobii EyeX/include/eyex-cpp/PropertyBag.inl')
-rwxr-xr-x | Tobii EyeX/include/eyex-cpp/PropertyBag.inl | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Tobii EyeX/include/eyex-cpp/PropertyBag.inl b/Tobii EyeX/include/eyex-cpp/PropertyBag.inl new file mode 100755 index 0000000..7b508f2 --- /dev/null +++ b/Tobii EyeX/include/eyex-cpp/PropertyBag.inl @@ -0,0 +1,36 @@ +/*********************************************************************************************************************
+ * Copyright 2013-2014 Tobii Technology AB. All rights reserved.
+ * PropertyBag.inl
+ *********************************************************************************************************************/
+
+#if !defined(__TOBII_TX_CLIENT_CPPBINDINGS_PROPERTYBAG__INL__)
+#define __TOBII_TX_CLIENT_CPPBINDINGS_PROPERTYBAG__INL__
+
+/*********************************************************************************************************************/
+
+TX_NAMESPACE_BEGIN
+
+/*********************************************************************************************************************/
+
+inline PropertyBag::PropertyBag(const std::shared_ptr<const Context>& spContext, TX_HANDLE hBag)
+: InteractionObject(spContext, hBag)
+{}
+
+/*********************************************************************************************************************/
+
+inline TX_PROPERTYBAGTYPE PropertyBag::GetType() const
+{
+ TX_PROPERTYBAGTYPE bagType;
+ TX_VALIDATE(txGetPropertyBagType(_hObject, &bagType));
+ return bagType;
+}
+
+/*********************************************************************************************************************/
+
+TX_NAMESPACE_END
+
+/*********************************************************************************************************************/
+
+#endif // !defined(__TOBII_TX_CLIENT_CPPBINDINGS_PROPERTYBAG__INL__)
+
+/*********************************************************************************************************************/
|