blob: 84f1c0e519563298af8545eba9dcb6b51c9d7b53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include "ftnoir_protocol_base_global.h"
#include "ftnoir_tracker_base/ftnoir_tracker_types.h"
struct IProtocol
{
virtual ~IProtocol() = 0;
virtual bool checkServerInstallationOK() = 0;
virtual void sendHeadposeToGame( const double* headpose ) = 0;
virtual QString getGameName() = 0;
};
inline IProtocol::~IProtocol() { }
struct IProtocolDialog
{
virtual ~IProtocolDialog() {}
virtual void registerProtocol(IProtocol *protocol) = 0;
virtual void unRegisterProtocol() = 0;
};
|