summaryrefslogtreecommitdiffhomepage
path: root/Tobii-EyeX/include/eyex-cpp/PropertyBag.inl
blob: 7b508f236d77e07eb1fad628fd5004b6f117dabf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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__)

/*********************************************************************************************************************/