X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fprocessor_selection.h;h=d371493b416e0988fc9ac6b2885dd21c59f5fa4b;hb=d5f55246cc9d1922bfdaf144aaad083f20e49064;hp=59354c05acdda075bf1c57da9e80d4a15e84d7f9;hpb=6698f5f686bef82b0c9568558c83a3b9b3344700;p=ardour.git diff --git a/gtk2_ardour/processor_selection.h b/gtk2_ardour/processor_selection.h index 59354c05ac..d371493b41 100644 --- a/gtk2_ardour/processor_selection.h +++ b/gtk2_ardour/processor_selection.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 @@ -20,7 +20,7 @@ #ifndef __ardour_gtk_processor_selection_h__ #define __ardour_gtk_processor_selection_h__ -#include +#include "pbd/xml++.h" class ProcessorSelection { public: @@ -41,15 +41,15 @@ class ProcessorSelection { node->add_child_nocopy (*newchild); } - void clear () { - if (node) { + void clear () { + if (node) { delete node; node = 0; } } bool empty () const { return node == 0 || node->children().empty(); } - + const XMLNode& get_node() const { return *node; } private: