mirror of
https://github.com/0TheSpy/Seaside.git
synced 2025-01-10 03:18:50 +08:00
36 lines
697 B
C
36 lines
697 B
C
#ifndef ICLIENTVIRTUALREALITY_H
|
|
#define ICLIENTVIRTUALREALITY_H
|
|
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "interface.h"
|
|
#include "refcount.h"
|
|
#include "IAppSystem.h"
|
|
|
|
#define CLIENTVIRTUALREALITY_INTERFACE_VERSION "ClientVirtualReality001"
|
|
|
|
|
|
|
|
abstract_class IClientVirtualReality : public IAppSystem
|
|
{
|
|
public:
|
|
virtual ~IClientVirtualReality() {}
|
|
|
|
virtual bool Connect(CreateInterfaceFn factory) = 0;
|
|
virtual void Disconnect() = 0;
|
|
virtual void* QueryInterface(const char* pInterfaceName) = 0;
|
|
virtual InitReturnVal_t Init() = 0;
|
|
virtual void Shutdown() = 0;
|
|
|
|
virtual void DrawMainMenu() = 0;
|
|
};
|
|
|
|
|
|
|
|
extern IClientVirtualReality* g_pClientVR;
|
|
|
|
|
|
#endif
|