diff options
author | David Robillard <d@drobilla.net> | 2009-10-14 16:10:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-10-14 16:10:01 +0000 |
commit | bb9cc45cd22af67ac275a5e73accbe14fee664d8 (patch) | |
tree | e52977d3eae6ff07b856088041a080a2fa3e5b79 /libs/ardour/ardour/plugin_manager.h | |
parent | 8c4ce1e2ce35571aed5a686671431fdfffae7f8c (diff) |
Strip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing). Whitespace changes only.
Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent...
git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/plugin_manager.h')
-rw-r--r-- | libs/ardour/ardour/plugin_manager.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/libs/ardour/ardour/plugin_manager.h b/libs/ardour/ardour/plugin_manager.h index 90f00be8b1..c792b539a7 100644 --- a/libs/ardour/ardour/plugin_manager.h +++ b/libs/ardour/ardour/plugin_manager.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2000-2007 Paul Davis + Copyright (C) 2000-2007 Paul Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -65,22 +65,22 @@ class PluginManager : public boost::noncopyable { void add_favorite (ARDOUR::PluginType type, std::string unique_id); void remove_favorite (ARDOUR::PluginType type, std::string unique_id); bool is_a_favorite_plugin (const PluginInfoPtr&); - + private: struct FavoritePlugin { - ARDOUR::PluginType type; - std::string unique_id; - - FavoritePlugin (ARDOUR::PluginType t, std::string id) - : type (t), unique_id (id) {} - - bool operator==(const FavoritePlugin& other) const { - return other.type == type && other.unique_id == unique_id; - } - - bool operator<(const FavoritePlugin& other) const { - return other.type < type || other.unique_id < unique_id; - } + ARDOUR::PluginType type; + std::string unique_id; + + FavoritePlugin (ARDOUR::PluginType t, std::string id) + : type (t), unique_id (id) {} + + bool operator==(const FavoritePlugin& other) const { + return other.type == type && other.unique_id == unique_id; + } + + bool operator<(const FavoritePlugin& other) const { + return other.type < type || other.unique_id < unique_id; + } }; typedef std::set<FavoritePlugin> FavoritePluginList; FavoritePluginList favorites; @@ -93,7 +93,7 @@ class PluginManager : public boost::noncopyable { #ifdef HAVE_SLV2 LV2World* _lv2_world; #endif - + std::map<uint32_t, std::string> rdf_type; std::string ladspa_path; @@ -109,7 +109,7 @@ class PluginManager : public boost::noncopyable { int au_discover (); void au_refresh (); - + int lv2_discover (); void lv2_refresh (); |