Fix uninitialized variable
[ardour.git] / gtk2_ardour / export_format_selector.h
index 4af647ac9c8e8355f57b29df142e0778a5465ba9..20b825086658546bd19534bb8171227490b2dcbf 100644 (file)
 #define __export_format_selector_h__
 
 #include <string>
-#include <gtkmm.h>
 #include <sigc++/signal.h>
 #include <boost/shared_ptr.hpp>
 
+#include <gtkmm/box.h>
+#include <gtkmm/button.h>
+#include <gtkmm/combobox.h>
+#include <gtkmm/liststore.h>
+#include <gtkmm/treemodel.h>
+
 #include "ardour/export_profile_manager.h"
 #include "ardour/session_handle.h"
 
@@ -34,16 +39,14 @@ namespace ARDOUR {
        class ExportProfileManager;
 }
 
-///
 class ExportFormatSelector : public Gtk::HBox, public ARDOUR::SessionHandlePtr
 {
-
-  private:
+private:
 
        typedef boost::shared_ptr<ARDOUR::ExportFormatSpecification> FormatPtr;
        typedef std::list<FormatPtr> FormatList;
 
-  public:
+public:
 
        ExportFormatSelector ();
        ~ExportFormatSelector ();
@@ -54,12 +57,13 @@ class ExportFormatSelector : public Gtk::HBox, public ARDOUR::SessionHandlePtr
        sigc::signal<void, FormatPtr> FormatEdited;
        sigc::signal<void, FormatPtr> FormatRemoved;
        sigc::signal<FormatPtr, FormatPtr> NewFormat;
+       sigc::signal<void, FormatPtr> FormatReverted;
 
        /* Compatibility with other elements */
 
        sigc::signal<void> CriticalSelectionChanged;
 
-  private:
+private:
 
        void select_format (FormatPtr f);
        void add_new_format ();
@@ -74,7 +78,7 @@ class ExportFormatSelector : public Gtk::HBox, public ARDOUR::SessionHandlePtr
 
        struct FormatCols : public Gtk::TreeModelColumnRecord
        {
-         public:
+       public:
                Gtk::TreeModelColumn<FormatPtr>      format;
                Gtk::TreeModelColumn<std::string>  label;