GenericUI: replace if() by assert()
[ardour.git] / gtk2_ardour / sfdb_freesound_mootcher.h
index 48fb11b638fa4a311ea49cdb440df99481db83be..4095cc99270d8da7a7fa327536661ff362f93f88 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012 Paul Davis 
+    Copyright (C) 2012 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
@@ -32,8 +32,6 @@
 *****************************************************************************/
 
 #include <string>
-#include <fstream>
-#include <iostream>
 #include <stdio.h>
 #include <cstring>
 #include <string>
@@ -76,7 +74,7 @@ public:
        std::string     searchText(std::string query, int page, std::string filter, enum sortMethod sort);
        std::string     searchSimilar(std::string id);
        void *          threadFunc();
-       SoundFileBrowser *sfb; 
+       SoundFileBrowser *sfb;
        std::string     audioFileName;
        std::string     ID;
 
@@ -113,7 +111,7 @@ private:
        Gtk::Button cancel_download_btn;
 
        bool cancel_download;
-       void cancelDownload() { 
+       void cancelDownload() {
                cancel_download = true;
                progress_hbox.hide();
        }