adjust plugin-UI height when toggling expanders
[ardour.git] / gtk2_ardour / soundcloud_export_selector.h
index 87222fcf5e08573c247a7b4d51319178f09522cb..62623f6168ca3af7566c576b2e0cf96d9a382044 100644 (file)
@@ -3,10 +3,10 @@
        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>
@@ -24,18 +24,21 @@ class SoundcloudExportSelector : public Gtk::VBox, public ARDOUR::SessionHandleP
        std::string password () { return soundcloud_password_entry.get_text (); }
        bool make_public  () { return soundcloud_public_checkbox.get_active (); }
        bool open_page    () { return soundcloud_open_checkbox.get_active (); }
+       bool downloadable () { return soundcloud_download_checkbox.get_active (); }
        void cancel () { soundcloud_cancel = true; }
 
   private:
        Gtk::Table  sc_table;
-       Gtk::CheckButton soundcloud_public_checkbox;
        Gtk::Label soundcloud_username_label;
        Gtk::Entry soundcloud_username_entry;
        Gtk::Label soundcloud_password_label;
        Gtk::Entry soundcloud_password_entry;
+       Gtk::CheckButton soundcloud_public_checkbox;
        Gtk::CheckButton soundcloud_open_checkbox;
+       Gtk::CheckButton soundcloud_download_checkbox;
        bool soundcloud_cancel;
        Gtk::ProgressBar progress_bar;
-       
+
 };
 
+#endif // __soundcloud_export_selector_h__