mirror of
https://github.com/sudoxnym/open-hyperion.git
synced 2026-04-14 19:46:39 +00:00
Update OpenRGB API version
This commit is contained in:
parent
dd99178ec3
commit
7bb89c72d9
3 changed files with 9 additions and 6 deletions
2
OpenRGB
2
OpenRGB
|
|
@ -1 +1 @@
|
||||||
Subproject commit fb88964b8e514cdf4eb22da314e13f8db06a3636
|
Subproject commit 7bf0e40fd87ac6f8b54424e22e32108dedc0f378
|
||||||
|
|
@ -5,8 +5,8 @@
|
||||||
#include <QLineEdit>
|
#include <QLineEdit>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QSignalMapper>
|
#include <QSignalMapper>
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
#include "filesystem.h"
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
@ -819,7 +819,7 @@ void OpenRGBE131ReceiverDialog::on_ButtonSaveMap_clicked()
|
||||||
/*-----------------------------------------------------*\
|
/*-----------------------------------------------------*\
|
||||||
| Write out the JSON structure to a file |
|
| Write out the JSON structure to a file |
|
||||||
\*-----------------------------------------------------*/
|
\*-----------------------------------------------------*/
|
||||||
std::ofstream universe_file(resource_manager->GetConfigurationDirectory() + "/plugins/E131UniverseMap.json", std::ios::out | std::ios::binary);
|
std::ofstream universe_file(resource_manager->GetConfigurationDirectory() / "plugins" / "settings" / "E131UniverseMap.json", std::ios::out | std::ios::binary);
|
||||||
|
|
||||||
if(universe_file)
|
if(universe_file)
|
||||||
{
|
{
|
||||||
|
|
@ -846,7 +846,7 @@ void OpenRGBE131ReceiverDialog::on_ButtonLoadMap_clicked()
|
||||||
/*---------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| Open input file in binary mode |
|
| Open input file in binary mode |
|
||||||
\*---------------------------------------------------------*/
|
\*---------------------------------------------------------*/
|
||||||
std::ifstream universe_file(resource_manager->GetConfigurationDirectory() + "/plugins/E131UniverseMap.json", std::ios::in | std::ios::binary);
|
std::ifstream universe_file(resource_manager->GetConfigurationDirectory() / "plugins" / "settings" / "E131UniverseMap.json", std::ios::in | std::ios::binary);
|
||||||
|
|
||||||
/*---------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| Read settings into JSON store |
|
| Read settings into JSON store |
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,11 @@ QT +=
|
||||||
|
|
||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||||
|
|
||||||
|
win32:CONFIG += c++17
|
||||||
|
|
||||||
|
unix:!macx {
|
||||||
|
QMAKE_CXXFLAGS += -std=c++17
|
||||||
|
}
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------------------------#
|
#-----------------------------------------------------------------------------------------------#
|
||||||
# Automatically generated build information #
|
# Automatically generated build information #
|
||||||
|
|
@ -31,8 +36,6 @@ DEFINES +=
|
||||||
TEMPLATE = lib
|
TEMPLATE = lib
|
||||||
DEFINES += ORGBEXAMPLEPLUGIN_LIBRARY
|
DEFINES += ORGBEXAMPLEPLUGIN_LIBRARY
|
||||||
|
|
||||||
CONFIG += c++11
|
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------------------------#
|
#-----------------------------------------------------------------------------------------------#
|
||||||
# Plugin Project Files #
|
# Plugin Project Files #
|
||||||
#-----------------------------------------------------------------------------------------------#
|
#-----------------------------------------------------------------------------------------------#
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue