From 079c4d5853e840a70563d3acb01d3af018e421fe Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Tue, 12 Jan 2016 19:08:55 +0100 Subject: [PATCH] Add `Settings` class placeholder --- example/example.xcodeproj/project.pbxproj | 6 ++++++ src/Application/Settings.cpp | 17 +++++++++++++++++ src/Application/Settings.h | 17 +++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 src/Application/Settings.cpp create mode 100644 src/Application/Settings.h diff --git a/example/example.xcodeproj/project.pbxproj b/example/example.xcodeproj/project.pbxproj index 30bc51d..349eec1 100644 --- a/example/example.xcodeproj/project.pbxproj +++ b/example/example.xcodeproj/project.pbxproj @@ -83,6 +83,7 @@ 39C1248819F1EB75005DF557 /* SurfaceManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 39C1248319F1EB75005DF557 /* SurfaceManager.cpp */; }; 39C1248919F1EB75005DF557 /* SurfaceManagerGui.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 39C1248519F1EB75005DF557 /* SurfaceManagerGui.cpp */; }; 39C787BD1AC2111B00691393 /* CmdManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 39C787BC1AC2111B00691393 /* CmdManager.cpp */; }; + 39FA2B801C457606003FAB28 /* Settings.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 39FA2B7E1C457606003FAB28 /* Settings.cpp */; }; E4328149138ABC9F0047C5CB /* openFrameworksDebug.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E4328148138ABC890047C5CB /* openFrameworksDebug.a */; }; E45BE97B0E8CC7DD009D7055 /* AGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9710E8CC7DD009D7055 /* AGL.framework */; }; E45BE97C0E8CC7DD009D7055 /* ApplicationServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E45BE9720E8CC7DD009D7055 /* ApplicationServices.framework */; }; @@ -304,6 +305,8 @@ 39C1248719F1EB75005DF557 /* SurfaceType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SurfaceType.h; sourceTree = ""; }; 39C787BB1AC20D2400691393 /* CmdManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = CmdManager.h; path = Commands/CmdManager.h; sourceTree = ""; }; 39C787BC1AC2111B00691393 /* CmdManager.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = CmdManager.cpp; path = Commands/CmdManager.cpp; sourceTree = ""; }; + 39FA2B7E1C457606003FAB28 /* Settings.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Settings.cpp; sourceTree = ""; }; + 39FA2B7F1C457606003FAB28 /* Settings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Settings.h; sourceTree = ""; }; 39FDD9EA1AC007BF00262205 /* BaseCmd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BaseCmd.h; path = Commands/BaseCmd.h; sourceTree = ""; }; BBAB23BE13894E4700AA2426 /* GLUT.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLUT.framework; path = ../../../libs/glut/lib/osx/GLUT.framework; sourceTree = ""; }; E4328143138ABC890047C5CB /* openFrameworksLib.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = openFrameworksLib.xcodeproj; path = ../../../libs/openFrameworksCompiled/project/osx/openFrameworksLib.xcodeproj; sourceTree = SOURCE_ROOT; }; @@ -425,6 +428,8 @@ children = ( 3968416A1BC91F6F009F0BAE /* Application.h */, 396841691BC91F6F009F0BAE /* Application.cpp */, + 39FA2B7F1C457606003FAB28 /* Settings.h */, + 39FA2B7E1C457606003FAB28 /* Settings.cpp */, 3968416C1BC91F6F009F0BAE /* ApplicationBaseState.h */, 3968416B1BC91F6F009F0BAE /* ApplicationBaseState.cpp */, 3968416E1BC91F6F009F0BAE /* PresentationState.h */, @@ -964,6 +969,7 @@ 39C1248819F1EB75005DF557 /* SurfaceManager.cpp in Sources */, 396841771BC91F6F009F0BAE /* PresentationState.cpp in Sources */, 39A9AAF21B054FC300AA83BC /* MvSurfaceVertCmd.cpp in Sources */, + 39FA2B801C457606003FAB28 /* Settings.cpp in Sources */, 39C1244319EE9589005DF557 /* LinkFilter.cpp in Sources */, 39C1245919F086A9005DF557 /* BaseSource.cpp in Sources */, 39C1244019EE9589005DF557 /* FileExtensionFilter.cpp in Sources */, diff --git a/src/Application/Settings.cpp b/src/Application/Settings.cpp new file mode 100644 index 0000000..c8023fa --- /dev/null +++ b/src/Application/Settings.cpp @@ -0,0 +1,17 @@ +#include "Settings.h" + +namespace ofx { +namespace piMapper { + +Settings::Settings(){} + +void Settings::load(){ + +} + +void Settings::save(){ + +} + +} // namespace piMapper +} // namespace ofx \ No newline at end of file diff --git a/src/Application/Settings.h b/src/Application/Settings.h new file mode 100644 index 0000000..2df4ad5 --- /dev/null +++ b/src/Application/Settings.h @@ -0,0 +1,17 @@ +#pragma once + +#include "ofMain.h" + +namespace ofx { +namespace piMapper { + +class Settings { + public: + Settings(); + + void load(); + void save(); +}; + +} +} \ No newline at end of file