mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-22 01:44:49 -05:00
Adds websocket vendor requests to start and stop the plugin. Adds vendor events to indicate when the plugin is started or stopped. These are ntended to be used for the StreamDeck plugin support.
18 lines
425 B
C++
18 lines
425 B
C++
#pragma once
|
|
#include "export-symbol-helper.hpp"
|
|
|
|
#include <functional>
|
|
#include <obs-data.h>
|
|
#include <string>
|
|
|
|
namespace advss {
|
|
|
|
EXPORT const char *GetWebsocketVendorName();
|
|
EXPORT void RegisterWebsocketRequest(
|
|
const std::string &name,
|
|
const std::function<void(obs_data_t *, obs_data_t *)> &callback);
|
|
EXPORT void SendWebsocketVendorEvent(const std::string &eventName,
|
|
obs_data_t *data);
|
|
|
|
} // namespace advss
|