fixed c++ errors

This commit is contained in:
ykeara
2019-04-11 19:50:12 -05:00
parent c2680a6ccc
commit 17b31734be
4 changed files with 38 additions and 12 deletions
+20 -5
View File
@@ -1,6 +1,18 @@
#pragma once
#include <QObject>
#include <QString>
#include <QVariant>
#include <openvr.h>
//#include "../overlaycontroller.h"
class QQuickWindow;
namespace advsettings {
// forward declaration
class OverlayController;
class VideoTabController : public QObject
{
@@ -13,13 +25,16 @@ namespace advsettings {
private:
//TODO
//constexpr auto notificationBrightnessFilename
OverlayController * parent;
QQuickWindow* widget;
vr::VROverlayHandle_t m_brightnessNotificationOverlayHandle
= vr::k_ulOverlayHandleInvalid;
float m_brightnessValue = 1.0;
float m_brightnessValue = 1.0f;
bool m_brightnessEnabled = false;
void reloadVideoConfig();
void saveVideoConfig();
//void reloadVideoConfig();
//void saveVideoConfig();
QString getSettingsName(){
@@ -37,8 +52,8 @@ namespace advsettings {
bool brightnessEnabled() const;
void initStage1();
//TODO ?? on args
void initStage2(OverlayController* var_parent, QQuickWindow* var_widget);
void eventLoopTick();
public slots:
@@ -51,4 +66,4 @@ namespace advsettings {
void brightnessValueChanged(float value);
};
}
}// namespace