Use central method to check for engine for processor operations
[ardour.git] / gtk2_ardour / soundcloud_export_selector.h
index 0ee6fbeb018b5f65806488678a2f0884ded4e73d..322bd94d1e47590a1b57e9a5b3588b6fbdb723b5 100644 (file)
@@ -3,21 +3,26 @@
        Adapted for Ardour by Ben Loftis, March 2012
 
 *****************************************************************************/
+#ifndef __soundcloud_export_selector_h__
+#define __soundcloud_export_selector_h__
 
 #include <string>
-#include <fstream>
-#include <iostream>
 #include <stdio.h>
 #include <cstring>
 #include <string>
 #include <sstream>
 #include <vector>
-#include <gtkmm.h>
+
+#include <gtkmm/box.h>
+#include <gtkmm/checkbutton.h>
+#include <gtkmm/entry.h>
+#include <gtkmm/label.h>
 #include <gtkmm/progressbar.h>
+#include <gtkmm/table.h>
 
 class SoundcloudExportSelector : public Gtk::VBox, public ARDOUR::SessionHandlePtr
 {
-  public:
+public:
        SoundcloudExportSelector ();
        int do_progress_callback (double ultotal, double ulnow, const std::string &filename);
        std::string username () { return soundcloud_username_entry.get_text (); }
@@ -27,7 +32,7 @@ class SoundcloudExportSelector : public Gtk::VBox, public ARDOUR::SessionHandleP
        bool downloadable () { return soundcloud_download_checkbox.get_active (); }
        void cancel () { soundcloud_cancel = true; }
 
-  private:
+private:
        Gtk::Table  sc_table;
        Gtk::Label soundcloud_username_label;
        Gtk::Entry soundcloud_username_entry;
@@ -38,6 +43,7 @@ class SoundcloudExportSelector : public Gtk::VBox, public ARDOUR::SessionHandleP
        Gtk::CheckButton soundcloud_download_checkbox;
        bool soundcloud_cancel;
        Gtk::ProgressBar progress_bar;
-       
+
 };
 
+#endif // __soundcloud_export_selector_h__