Program Listing for File SimOneControlTransAPI.h
↰ Return to documentation for file (api\Cpp_API_Reference\SimOneControlTransAPI.h
)
#pragma once
#ifndef __CONTROL_API_C_
#define __CONTROL_API_C_
#ifdef WIN32
#ifdef CONTROLTRANS
#define CONTROL_API __declspec(dllexport)
#else
#define CONTROL_API __declspec(dllimport)
#endif
#else
#define CONTROL_API // Leave empty on Mac
#endif
#include "SimOnePNCAPI.h"
#if defined (__cplusplus)
extern "C" {
#endif
namespace SimOneAPI
{
CONTROL_API bool SetDriveEx(const char* mainVehicleId, SimOne_Data_Control_Ex *pControlEx);
CONTROL_API bool GetDriveEx(SimOne_Data_Control_Ex *pControlEx);
}
#if defined (__cplusplus)
}
#endif
#endif