summaryrefslogtreecommitdiff
path: root/plugingui/pluginconfig.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-09-28 17:31:34 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2015-09-28 17:31:34 +0200
commit9d3d6b7c4ee891e28280af1651d8edb9357df643 (patch)
tree1d0e7745c3959e32982fdc947a8576344310c6cf /plugingui/pluginconfig.h
parent5a0963274b2f21590fc72610ff49bba33145d161 (diff)
Refactored GUI::Config.
Diffstat (limited to 'plugingui/pluginconfig.h')
-rw-r--r--plugingui/pluginconfig.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/plugingui/pluginconfig.h b/plugingui/pluginconfig.h
index 9bef1f0..a249eb2 100644
--- a/plugingui/pluginconfig.h
+++ b/plugingui/pluginconfig.h
@@ -1,6 +1,6 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/***************************************************************************
- * config.h
+ * pluginconfig.h
*
* Tue Jun 3 13:51:29 CEST 2014
* Copyright 2014 Jonas Suhr Christensen
@@ -24,21 +24,22 @@
* along with DrumGizmo; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-#ifndef __DRUMGIZMO_CONFIG_H__
-#define __DRUMGIZMO_CONFIG_H__
+#pragma once
#include <configfile.h>
+namespace GUI {
+
class Config : public ConfigFile {
public:
- Config();
- ~Config();
+ Config();
+ ~Config();
- bool load();
- bool save();
+ bool load();
+ bool save();
- std::string lastkit;
- std::string lastmidimap;
+ std::string lastkit;
+ std::string lastmidimap;
};
-#endif/*__DRUMGIZMO_CONFIG_H__*/
+} // GUI::