mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
base: Add base RequestHandler and rpc files
This commit is contained in:
parent
f0dfe72aca
commit
a0162caad1
@ -67,12 +67,18 @@ set(obs-websocket_SOURCES
|
||||
src/obs-websocket.cpp
|
||||
src/Config.cpp
|
||||
src/WebSocketServer.cpp
|
||||
src/requesthandler/RequestHandler.cpp
|
||||
src/requesthandler/rpc/Request.cpp
|
||||
src/requesthandler/rpc/RequestResult.cpp
|
||||
src/forms/SettingsDialog.cpp)
|
||||
|
||||
set(obs-websocket_HEADERS
|
||||
src/obs-websocket.h
|
||||
src/Config.h
|
||||
src/WebSocketServer.h
|
||||
src/requesthandler/RequestHandler.h
|
||||
src/requesthandler/rpc/Request.h
|
||||
src/requesthandler/rpc/RequestResult.h
|
||||
src/forms/SettingsDialog.h)
|
||||
|
||||
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include "requesthandler/RequestHandler.h"
|
||||
|
||||
class WebSocketServer : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
1
src/requesthandler/RequestHandler.cpp
Normal file
1
src/requesthandler/RequestHandler.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "RequestHandler.h"
|
4
src/requesthandler/RequestHandler.h
Normal file
4
src/requesthandler/RequestHandler.h
Normal file
@ -0,0 +1,4 @@
|
||||
#pragma once
|
||||
|
||||
#include "rpc/Request.h"
|
||||
#include "rpc/RequestResult.h"
|
1
src/requesthandler/rpc/Request.cpp
Normal file
1
src/requesthandler/rpc/Request.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "Request.h"
|
1
src/requesthandler/rpc/Request.h
Normal file
1
src/requesthandler/rpc/Request.h
Normal file
@ -0,0 +1 @@
|
||||
#pragma once
|
1
src/requesthandler/rpc/RequestResult.cpp
Normal file
1
src/requesthandler/rpc/RequestResult.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "RequestResult.h"
|
1
src/requesthandler/rpc/RequestResult.h
Normal file
1
src/requesthandler/rpc/RequestResult.h
Normal file
@ -0,0 +1 @@
|
||||
#pragma once
|
Loading…
Reference in New Issue
Block a user