CycloPos Header version 1.0.0
ToolTech Software · C++ library reference
Loading...
Searching...
No Matches
cpLibrary.h
Go to the documentation of this file.
1//*****************************************************************************
2// File : cpLibrary.h
3// Module : CycloPos
4// Description : Generic Setup of the CycloPos library
5// Author : Anders Modén
6// Product : CycloPos 1.0.0
7//
8// Copyright © 2011- ToolTech Software, Sweden
9//
10// NOTE: CycloPos is a generic VR and Tool positioning library for a mono camera
11//
12//
13// Revision History...
14//
15// Who Date Description
16//
17// AMO 110901 Created file
18//
19//******************************************************************************
20#ifndef __CP_LIBRARY_H__
21#define __CP_LIBRARY_H__
22
23
28
29#include "gzBaseLibrary.h" // GizmoBase generic include
30
31// ------------------- Generic platform settings -------------------------------------------------------------------------
32
33#ifdef GZ_WINDOWS
34 #ifndef GZ_STATIC // Default to use all Gizmo dlls
35 #define CP_DLL // Define GZ_STATIC to use static libs
36 #endif
37#endif // GZ_WINDOWS
38
39#ifdef CP_DLL //cyclopos.dll
40 #ifdef CP_EXPORTS
41 #define CP_EXPORT __declspec(dllexport)
42 #else
43 #define CP_EXPORT __declspec(dllimport)
44 #endif
45#else
46 #define CP_EXPORT
47#endif
48
49// -------------------------------------- Library version ---------------------------------------------------------------
50
51CP_EXPORT gzVoid cpCheckLibraryVersion(gzInt major=GZ_VERSION_MAJ , gzInt minor=GZ_VERSION_MIN , gzInt dev=GZ_VERSION_DEV);
52
53CP_EXPORT gzLibReference *cpGetLibReference();
54
55#endif // __GZ_BASE_LIBRARY_H__
56
57
58
59
60
61
CP_EXPORT gzLibReference * cpGetLibReference()
#define CP_EXPORT
Definition cpLibrary.h:46
CP_EXPORT gzVoid cpCheckLibraryVersion(gzInt major=GZ_VERSION_MAJ, gzInt minor=GZ_VERSION_MIN, gzInt dev=GZ_VERSION_DEV)