#include <windows.h>
#include <stdio.h>
#include <conio.h>
#include <tchar.h>
#include <math.h>
//#include "vrpn_Tracker.h"

//#define WIACLIENT_TRACE_ON
#define USE_WIACLIENT


#ifdef USE_WIACLIENT
	#include "WIAClient_info.h"
    #include <pthread.h>
#endif
#include "WIAClientSM_info.h"


#ifdef TESTFUNCDLL_EXPORT
#define TESTFUNCDLL_API __declspec(dllexport) 
#else
#define TESTFUNCDLL_API __declspec(dllimport) 
#endif

extern "C" {
#include <SMCore.h>
	TESTFUNCDLL_API int attach_wiaclient_sm();
    TESTFUNCDLL_API int create_wiaclient_sm();
	TESTFUNCDLL_API int copy_wiaclient_data_to_sm(WIAClientLibObjects *wiaclient_data);
}