0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
obs-studio/plugins/linux-capture/xcompcap-main.hpp
jp9000 f53df7da64 clang-format: Apply formatting
Code submissions have continually suffered from formatting
inconsistencies that constantly have to be addressed.  Using
clang-format simplifies this by making code formatting more consistent,
and allows automation of the code formatting so that maintainers can
focus more on the code itself instead of code formatting.
2019-06-23 23:49:10 -07:00

27 lines
468 B
C++

#pragma once
struct XCompcapMain_private;
class XCompcapMain {
public:
static bool init();
static void deinit();
static obs_properties_t *properties();
static void defaults(obs_data_t *settings);
XCompcapMain(obs_data_t *settings, obs_source_t *source);
~XCompcapMain();
void updateSettings(obs_data_t *settings);
void tick(float seconds);
void render(gs_effect_t *effect);
uint32_t width();
uint32_t height();
private:
XCompcapMain_private *p;
};