/*
- 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
*****************************************************************************/
+#ifndef __gtk_ardour_sfdb_freesound_mootcher_h__
+#define __gtk_ardour_sfdb_freesound_mootcher_h__
+
#include <string>
-#include <fstream>
-#include <iostream>
#include <stdio.h>
#include <cstring>
#include <string>
#include "curl/curl.h"
//--- struct to store XML file
-struct MemoryStruct {
+struct SfdbMemoryStruct {
char *memory;
size_t size;
};
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;
Gtk::Button cancel_download_btn;
bool cancel_download;
- void cancelDownload() {
+ void cancelDownload() {
cancel_download = true;
progress_hbox.hide();
}
std::string xmlLocation;
};
+#endif // __gtk_ardour_sfdb_freesound_mootcher_h__