Switch from QMake to CMake with buildcore

This commit is contained in:
2021-07-28 01:13:20 -05:00
parent 1ab03975f7
commit 91683b4dd7
23 changed files with 898 additions and 30 deletions

42
src/mainwindow.hpp Normal file
View 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();
};