mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
base: Add EventHandler files
This commit is contained in:
parent
ee751edf54
commit
c0accd9cde
@ -74,6 +74,7 @@ set(obs-websocket_SOURCES
|
||||
src/WebSocketServer.cpp
|
||||
src/WebSocketProtocol.cpp
|
||||
src/WebSocketSession.cpp
|
||||
src/eventhandler/EventHandler.cpp
|
||||
src/requesthandler/RequestHandler.cpp
|
||||
src/requesthandler/RequestHandler_General.cpp
|
||||
src/requesthandler/rpc/Request.cpp
|
||||
@ -92,6 +93,7 @@ set(obs-websocket_HEADERS
|
||||
src/WebSocketServer.h
|
||||
src/WebSocketProtocol.h
|
||||
src/WebSocketSession.h
|
||||
src/eventhandler/EventHandler.h
|
||||
src/requesthandler/RequestHandler.h
|
||||
src/requesthandler/rpc/Request.h
|
||||
src/requesthandler/rpc/RequestResult.h
|
||||
|
1
src/eventhandler/EventHandler.cpp
Normal file
1
src/eventhandler/EventHandler.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "EventHandler.h"
|
1
src/eventhandler/EventHandler.h
Normal file
1
src/eventhandler/EventHandler.h
Normal file
@ -0,0 +1 @@
|
||||
#pragma once
|
@ -10,6 +10,7 @@
|
||||
#include "obs-websocket.h"
|
||||
#include "Config.h"
|
||||
#include "WebSocketServer.h"
|
||||
#include "eventhandler/EventHandler.h"
|
||||
#include "forms/SettingsDialog.h"
|
||||
|
||||
#include "plugin-macros.generated.h"
|
||||
|
@ -32,6 +32,11 @@ typedef std::shared_ptr<Config> ConfigPtr;
|
||||
class WebSocketServer;
|
||||
typedef std::shared_ptr<WebSocketServer> WebSocketServerPtr;
|
||||
|
||||
class EventHandler;
|
||||
typedef std::shared_ptr<EventHandler> EventHandlerPtr;
|
||||
|
||||
ConfigPtr GetConfig();
|
||||
|
||||
WebSocketServerPtr GetWebSocketServer();
|
||||
|
||||
EventHandlerPtr GetEventHandler();
|
||||
|
Loading…
Reference in New Issue
Block a user