obs-studio/plugins/linux-capture/xcompcap-main.hpp

27 lines
468 B
C++
Raw Normal View History

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