base: Add base RequestHandler and rpc files

This commit is contained in:
tt2468 2021-04-27 09:29:51 -07:00
parent f0dfe72aca
commit a0162caad1
8 changed files with 17 additions and 0 deletions

View File

@ -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)

View File

@ -2,6 +2,8 @@
#include <QObject>
#include "requesthandler/RequestHandler.h"
class WebSocketServer : public QObject
{
Q_OBJECT

View File

@ -0,0 +1 @@
#include "RequestHandler.h"

View File

@ -0,0 +1,4 @@
#pragma once
#include "rpc/Request.h"
#include "rpc/RequestResult.h"

View File

@ -0,0 +1 @@
#include "Request.h"

View File

@ -0,0 +1 @@
#pragma once

View File

@ -0,0 +1 @@
#include "RequestResult.h"

View File

@ -0,0 +1 @@
#pragma once