mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-19 11:44:38 -04:00
Frontend plugins should not require being placed in the frontend directory to be built successfully. Indeed they should only depend on libobs and the obs-frontend-api and thus their source tree should be able to exist anywhere (even standalone) and the plugin should still compile successfully (just like any 3rd party plugin). Thus moving those plugins into the main plugin directory ensures that they don't require on any "special sauce" within the source tree to compile.
43 lines
930 B
C++
43 lines
930 B
C++
#pragma once
|
|
|
|
#include <QDialog>
|
|
#include <properties-view.hpp>
|
|
|
|
#include "ui_output.h"
|
|
|
|
namespace aja {
|
|
class CardManager;
|
|
}
|
|
|
|
class AJAOutputUI : public QDialog {
|
|
Q_OBJECT
|
|
private:
|
|
OBSPropertiesView *propertiesView;
|
|
OBSPropertiesView *previewPropertiesView;
|
|
OBSPropertiesView *miscPropertiesView;
|
|
aja::CardManager *cardManager;
|
|
public slots:
|
|
void on_outputButton_clicked();
|
|
void PropertiesChanged();
|
|
void OutputStateChanged(bool);
|
|
|
|
void on_previewOutputButton_clicked();
|
|
void PreviewPropertiesChanged();
|
|
void PreviewOutputStateChanged(bool);
|
|
|
|
void MiscPropertiesChanged();
|
|
|
|
public:
|
|
std::unique_ptr<Ui_Output> ui;
|
|
AJAOutputUI(QWidget *parent);
|
|
|
|
void SetCardManager(aja::CardManager *cm);
|
|
aja::CardManager *GetCardManager();
|
|
|
|
void ShowHideDialog();
|
|
void SaveSettings(const char *filename, obs_data_t *settings);
|
|
void SetupPropertiesView();
|
|
void SetupPreviewPropertiesView();
|
|
void SetupMiscPropertiesView();
|
|
};
|