diff options
author | David Robillard <d@drobilla.net> | 2010-12-15 02:06:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-15 02:06:56 +0000 |
commit | 3379430e15a59a96562e8cdebe7cbf81efc1b3d3 (patch) | |
tree | ab6f2dfafb7f78323e47d6de8e5c9dcde9adab71 /src/ProjectList.cpp | |
parent | 9e117275efe6585e2039130a5729bd75c120706e (diff) | |
download | patchage-3379430e15a59a96562e8cdebe7cbf81efc1b3d3.tar.gz patchage-3379430e15a59a96562e8cdebe7cbf81efc1b3d3.tar.bz2 patchage-3379430e15a59a96562e8cdebe7cbf81efc1b3d3.zip |
Clean up code.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2692 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/ProjectList.cpp')
-rw-r--r-- | src/ProjectList.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/ProjectList.cpp b/src/ProjectList.cpp index c7dbb89..155a878 100644 --- a/src/ProjectList.cpp +++ b/src/ProjectList.cpp @@ -19,13 +19,13 @@ #include <gtkmm.h> #include <libglademm/xml.h> -#include "ProjectList.hpp" -#include "Widget.hpp" -#include "Session.hpp" -#include "Project.hpp" -#include "ProjectPropertiesDialog.hpp" #include "LashClient.hpp" #include "LashProxy.hpp" +#include "Project.hpp" +#include "ProjectList.hpp" +#include "ProjectPropertiesDialog.hpp" +#include "Session.hpp" +#include "Widget.hpp" using boost::shared_ptr; using namespace std; @@ -36,12 +36,6 @@ struct ProjectList_column_record : public Gtk::TreeModel::ColumnRecord { }; struct ProjectListImpl : public sigc::trackable { - Patchage* _app; - Widget<Gtk::TreeView> _widget; - ProjectList_column_record _columns; - Glib::RefPtr<Gtk::TreeStore> _model; - Gtk::Menu _menu_popup; - ProjectListImpl( Glib::RefPtr<Gnome::Glade::Xml> xml, Patchage* app); @@ -60,6 +54,12 @@ struct ProjectListImpl : public sigc::trackable { void on_menu_popup_close_project(shared_ptr<Project> project); void on_menu_popup_project_properties(shared_ptr<Project> project); void on_menu_popup_close_all_projects(); + + Patchage* _app; + Widget<Gtk::TreeView> _widget; + ProjectList_column_record _columns; + Glib::RefPtr<Gtk::TreeStore> _model; + Gtk::Menu _menu_popup; }; ProjectList::ProjectList( |