OpenNI 1.5.4
XnLicensing.h
Go to the documentation of this file.
1/****************************************************************************
2* *
3* OpenNI 1.x Alpha *
4* Copyright (C) 2011 PrimeSense Ltd. *
5* *
6* This file is part of OpenNI. *
7* *
8* OpenNI is free software: you can redistribute it and/or modify *
9* it under the terms of the GNU Lesser General Public License as published *
10* by the Free Software Foundation, either version 3 of the License, or *
11* (at your option) any later version. *
12* *
13* OpenNI is distributed in the hope that it will be useful, *
14* but WITHOUT ANY WARRANTY; without even the implied warranty of *
15* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16* GNU Lesser General Public License for more details. *
17* *
18* You should have received a copy of the GNU Lesser General Public License *
19* along with OpenNI. If not, see <http://www.gnu.org/licenses/>. *
20* *
21****************************************************************************/
22#ifndef __XN_LICENSING_H__
23#define __XN_LICENSING_H__
24
32//---------------------------------------------------------------------------
33// Includes
34//---------------------------------------------------------------------------
35#include <XnTypes.h>
36
37//---------------------------------------------------------------------------
38// Functions
39//---------------------------------------------------------------------------
40
47XN_C_API XnStatus XN_C_DECL xnAddLicense(XnContext* pContext, const XnLicense* pLicense);
48
58 XnContext* pContext,
59 XnLicense** paLicenses,
60 XnUInt32* pnCount
61 );
62
68XN_C_API void XN_C_DECL xnFreeLicensesList(XnLicense* aLicenses);
69
72#endif // __XN_LICENSING_H__
#define XN_C_API
Definition XnPlatform.h:132
XnUInt32 XnStatus
Definition XnStatus.h:34
struct XnContext XnContext
Definition XnTypes.h:77
XN_C_API void XN_C_DECL xnFreeLicensesList(XnLicense *aLicenses)
XN_C_API XnStatus XN_C_DECL xnEnumerateLicenses(XnContext *pContext, XnLicense **paLicenses, XnUInt32 *pnCount)
XN_C_API XnStatus XN_C_DECL xnAddLicense(XnContext *pContext, const XnLicense *pLicense)
Definition XnTypes.h:203