X2 Standard  Version 1.28
Loading...
Searching...
No Matches
main.h
1#ifdef SB_WIN_BUILD
2 #define PlugInExport __declspec(dllexport)
3#else
4 #define PlugInExport
5#endif
6
7class SerXInterface;
11class LoggerInterface;
12class MutexInterface;
15
16extern "C" PlugInExport int sbPlugInDisplayName(BasicStringInterface& str);
17
18extern "C" PlugInExport int sbPlugInFactory( const char* pszSelection,
19 const int& nInstanceIndex,
20 SerXInterface * pSerXIn,
22 SleeperInterface * pSleeperIn,
23 BasicIniUtilInterface * pIniUtilIn,
24 LoggerInterface * pLoggerIn,
25 MutexInterface * pIOMutexIn,
26 TickCountInterface * pTickCountIn,
27 void** ppObjectOut);
The BasicIniUtilInterface is used to make properties persistent.
Definition basiciniutilinterface.h:21
The BasicStringInterface allows a string as an output.
Definition basicstringinterface.h:17
The LoggerInterface is a cross-platform logging utility passed to X2 implementors to show real-time,...
Definition loggerinterface.h:58
The MutexInterface provides a cross-platform mutex.
Definition mutexinterface.h:16
The SerXInterface is a cross-plaform serial port.
Definition serxinterface.h:18
The SleeperInterface is a cross-platform "sleeper".
Definition sleeperinterface.h:15
The TheSkyXFacadeForDriversInterface is a simplified interface to TheSkyX passed to X2 implementors.
Definition theskyxfacadefordriversinterface.h:19
The TickCountInterface is a cross-platform way to measure relative timing.
Definition tickcountinterface.h:17
X2 Examples
(C) 2026 Software Bisque, Inc. All rights reserved.