2014-03-05 09:43:14 -08:00
|
|
|
#include <obs-module.h>
|
|
|
|
|
|
|
|
OBS_DECLARE_MODULE()
|
2014-07-09 22:12:57 -07:00
|
|
|
OBS_MODULE_USE_DEFAULT_LOCALE("win-capture", "en-US")
|
2014-03-05 09:43:14 -08:00
|
|
|
|
|
|
|
extern struct obs_source_info monitor_capture_info;
|
2014-04-07 01:20:36 -07:00
|
|
|
extern struct obs_source_info window_capture_info;
|
2014-03-05 09:43:14 -08:00
|
|
|
|
|
|
|
bool obs_module_load(uint32_t libobs_ver)
|
|
|
|
{
|
|
|
|
obs_register_source(&monitor_capture_info);
|
2014-04-07 01:20:36 -07:00
|
|
|
obs_register_source(&window_capture_info);
|
2014-03-05 09:43:14 -08:00
|
|
|
|
|
|
|
UNUSED_PARAMETER(libobs_ver);
|
|
|
|
return true;
|
|
|
|
}
|
2014-07-09 22:12:57 -07:00
|
|
|
|
|
|
|
void obs_module_unload(void)
|
|
|
|
{
|
|
|
|
OBS_MODULE_FREE_DEFAULT_LOCALE();
|
|
|
|
}
|