File: window-basic-vcam-config.hpp

package info (click to toggle)
obs-studio 29.0.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 35,920 kB
  • sloc: ansic: 182,921; cpp: 98,959; sh: 1,591; python: 945; makefile: 858; javascript: 19
file content (30 lines) | stat: -rw-r--r-- 542 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#pragma once

#include <obs.hpp>
#include <QDialog>
#include <memory>

#include "ui_OBSBasicVCamConfig.h"

class OBSBasicVCamConfig : public QDialog {
	Q_OBJECT

public:
	static void Init();

	static video_t *StartVideo();
	static void StopVideo();
	static void DestroyView();

	static void UpdateOutputSource();
	static void SaveData(obs_data_t *data, bool saving);

	explicit OBSBasicVCamConfig(QWidget *parent = 0);

private slots:
	void OutputTypeChanged(int type);
	void Save();

private:
	std::unique_ptr<Ui::OBSBasicVCamConfig> ui;
};