mirror of
https://github.com/gtalent/sc9k.git
synced 2025-09-11 15:02:55 -05:00
Switch from QMake to CMake with buildcore
This commit is contained in:
42
src/mainwindow.hpp
Normal file
42
src/mainwindow.hpp
Normal file
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2021 gary@drinkingtea.net
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include <QMainWindow>
|
||||
|
||||
#include "obsclient.hpp"
|
||||
#include "openlpclient.hpp"
|
||||
|
||||
class MainWindow: public QMainWindow {
|
||||
Q_OBJECT
|
||||
|
||||
private:
|
||||
OBSClient m_obsClient;
|
||||
OpenLPClient m_openlpClient;
|
||||
bool m_openLpConnected = false;
|
||||
bool m_obsConnected = false;
|
||||
|
||||
public:
|
||||
MainWindow(QWidget *parent = nullptr);
|
||||
~MainWindow();
|
||||
|
||||
private slots:
|
||||
void openLpConnectionInit();
|
||||
|
||||
void openLpConnectionLost();
|
||||
|
||||
void obsConnectionInit();
|
||||
|
||||
void obsConnectionLost();
|
||||
|
||||
void refreshStatusBar();
|
||||
|
||||
};
|
Reference in New Issue
Block a user