aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui/NodePropertiesWindow.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-10 21:23:14 +0000
committerDavid Robillard <d@drobilla.net>2011-01-10 21:23:14 +0000
commitf293da6bc4f0f631c086d35666e3e8bfef19b8f2 (patch)
treed0e693bdec5e4a53daca500434533d2fc5c43650 /src/gui/NodePropertiesWindow.hpp
parentdb319f5a8cb7915b2d5b93adab148fa16d92e7e5 (diff)
downloadmachina-f293da6bc4f0f631c086d35666e3e8bfef19b8f2.tar.gz
machina-f293da6bc4f0f631c086d35666e3e8bfef19b8f2.tar.bz2
machina-f293da6bc4f0f631c086d35666e3e8bfef19b8f2.zip
Rewrite with UI/engine split.
Note some things aren't quite working right again yet... git-svn-id: http://svn.drobilla.net/lad/trunk/machina@2821 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/NodePropertiesWindow.hpp')
-rw-r--r--src/gui/NodePropertiesWindow.hpp18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/gui/NodePropertiesWindow.hpp b/src/gui/NodePropertiesWindow.hpp
index f88978c..b56941e 100644
--- a/src/gui/NodePropertiesWindow.hpp
+++ b/src/gui/NodePropertiesWindow.hpp
@@ -15,24 +15,28 @@
* along with Machina. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef NODEPROPERTIESWINDOW_H
-#define NODEPROPERTIESWINDOW_H
+#ifndef NODEPROPERTIESWINDOW_HPP
+#define NODEPROPERTIESWINDOW_HPP
#include <gtkmm.h>
+
#include <libglademm/xml.h>
-#include "machina/Node.hpp"
+
+#include <raul/SharedPtr.hpp>
+
+namespace Machina { namespace Client { class ClientObject; } }
class NodePropertiesWindow : public Gtk::Dialog
{
public:
- static void present(Gtk::Window* parent, SharedPtr<Machina::Node> node);
+ static void present(Gtk::Window* parent, SharedPtr<Machina::Client::ClientObject> node);
private:
friend class Gnome::Glade::Xml;
NodePropertiesWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& glade_xml);
~NodePropertiesWindow();
- void set_node(SharedPtr<Machina::Node> node);
+ void set_node(SharedPtr<Machina::Client::ClientObject> node);
void apply_clicked();
void cancel_clicked();
@@ -40,7 +44,7 @@ private:
static NodePropertiesWindow* _instance;
- SharedPtr<Machina::Node> _node;
+ SharedPtr<Machina::Client::ClientObject> _node;
Gtk::SpinButton* _note_spinbutton;
Gtk::SpinButton* _duration_spinbutton;
@@ -50,4 +54,4 @@ private:
};
-#endif // NODEPROPERTIESWINDOW_H
+#endif // NODEPROPERTIESWINDOW_HPP