f53df7da64
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.
27 lines
468 B
C++
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;
|
|
};
|