summaryrefslogtreecommitdiff
path: root/libs/surfaces/mackie/device_profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/surfaces/mackie/device_profile.h')
-rw-r--r--libs/surfaces/mackie/device_profile.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/surfaces/mackie/device_profile.h b/libs/surfaces/mackie/device_profile.h
index 15702a6886..ab1e645e56 100644
--- a/libs/surfaces/mackie/device_profile.h
+++ b/libs/surfaces/mackie/device_profile.h
@@ -37,16 +37,16 @@ class DeviceProfile
public:
DeviceProfile (const std::string& name = "");
~DeviceProfile();
-
+
std::string get_button_action (Button::ID, int modifier_state) const;
void set_button_action (Button::ID, int modifier_state, const std::string&);
-
+
const std::string& name() const;
void set_path (const std::string&);
static void reload_device_profiles ();
static std::map<std::string,DeviceProfile> device_profiles;
-
+
private:
struct ButtonActions {
std::string plain;
@@ -56,13 +56,13 @@ class DeviceProfile
std::string cmdalt;
std::string shiftcontrol;
};
-
+
typedef std::map<Button::ID,ButtonActions> ButtonActionMap;
-
+
std::string _name;
std::string _path;
ButtonActionMap _button_map;
-
+
int set_state (const XMLNode&, int version);
XMLNode& get_state () const;