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

//#define WIFIBOT_TRACE_ON
#define USE_WIFIBOT


#ifdef USE_WIFIBOT
	#include "Wifibot_info.h"
#endif
#include <WifibotSM_info.h>

typedef struct WifibotProducerParams_t
{
	char wifibot_remote_ip[100];
	int wifibot_tcp_port;
	char wifibot_log_fic[200];
} WifibotProducerParams;

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

extern "C" {
#include <SMCore.h>
	TESTFUNCDLL_API int attach_wifibot_sm();
    TESTFUNCDLL_API int create_wifibot_sm();
	TESTFUNCDLL_API int copy_wifibot_data_to_sm(WifibotLibObjects *wifibot_data);
}