diff options
author | David Robillard <d@drobilla.net> | 2011-04-16 19:02:36 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-16 19:02:36 +0000 |
commit | 9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2 (patch) | |
tree | 089c1366a567dfbf88c0473288236b276ef24bf6 /src/gui/UploadPatchWindow.cpp | |
parent | 987710474b824cb92d83ff6fa7a090f50e10756f (diff) | |
download | ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.gz ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.bz2 ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.zip |
Squeeze blank lines and delete trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3152 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/UploadPatchWindow.cpp')
-rw-r--r-- | src/gui/UploadPatchWindow.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/gui/UploadPatchWindow.cpp b/src/gui/UploadPatchWindow.cpp index b5a4d291..195e2879 100644 --- a/src/gui/UploadPatchWindow.cpp +++ b/src/gui/UploadPatchWindow.cpp @@ -40,7 +40,6 @@ using namespace std; namespace Ingen { namespace GUI { - UploadPatchWindow::UploadPatchWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& xml) : Dialog(cobject) , _thread(NULL) @@ -53,14 +52,12 @@ UploadPatchWindow::UploadPatchWindow(BaseObjectType* cobject, const Glib::RefPtr xml->get_widget("upload_patch_cancel_button", _cancel_button); xml->get_widget("upload_patch_upload_button", _upload_button); - _symbol_entry->signal_changed().connect(sigc::mem_fun(this, &UploadPatchWindow::symbol_changed)); _short_name_entry->signal_changed().connect(sigc::mem_fun(this, &UploadPatchWindow::short_name_changed)); _cancel_button->signal_clicked().connect(sigc::mem_fun(this, &UploadPatchWindow::cancel_clicked)); _upload_button->signal_clicked().connect(sigc::mem_fun(this, &UploadPatchWindow::upload_clicked)); } - void UploadPatchWindow::present(SharedPtr<PatchModel> patch) { @@ -69,7 +66,6 @@ UploadPatchWindow::present(SharedPtr<PatchModel> patch) Gtk::Window::present(); } - void UploadPatchWindow::on_show() { @@ -85,7 +81,6 @@ UploadPatchWindow::on_show() _short_name_entry->set_text(atom.get_string()); } - void UploadPatchWindow::on_hide() { @@ -95,7 +90,6 @@ UploadPatchWindow::on_hide() _thread = NULL; } - bool UploadPatchWindow::is_symbol(const Glib::ustring& s) { @@ -112,7 +106,6 @@ UploadPatchWindow::is_symbol(const Glib::ustring& s) return true; } - void UploadPatchWindow::symbol_changed() { @@ -121,7 +114,6 @@ UploadPatchWindow::symbol_changed() && _short_name_entry->get_text().length() > 0); } - void UploadPatchWindow::short_name_changed() { @@ -130,7 +122,6 @@ UploadPatchWindow::short_name_changed() && _short_name_entry->get_text().length() > 0); } - size_t UploadThread::curl_read_cb(void *ptr, size_t size, size_t nmemb, void *data) { @@ -141,7 +132,6 @@ UploadThread::curl_read_cb(void *ptr, size_t size, size_t nmemb, void *data) return ss->readsome((char*)ptr, nmemb); } - int UploadThread::curl_progress_cb(void *thread, double dltotal, @@ -156,7 +146,6 @@ UploadThread::curl_progress_cb(void *thread, return 0; } - UploadThread::UploadThread(UploadPatchWindow* win, const string& str, const string& url) : Thread("Upload") , _curl(NULL) @@ -180,7 +169,6 @@ UploadThread::UploadThread(UploadPatchWindow* win, const string& str, const stri curl_easy_setopt(_curl, CURLOPT_PROGRESSDATA, this); } - void UploadThread::_run() { @@ -201,7 +189,6 @@ UploadThread::_run() _curl = NULL; } - bool UploadPatchWindow::progress_callback() { @@ -230,7 +217,6 @@ UploadPatchWindow::progress_callback() } } - void UploadPatchWindow::upload_clicked() { @@ -268,7 +254,6 @@ UploadPatchWindow::upload_clicked() sigc::mem_fun(this, &UploadPatchWindow::progress_callback), 100); } - void UploadPatchWindow::cancel_clicked() { @@ -280,6 +265,5 @@ UploadPatchWindow::cancel_clicked() hide(); } - } // namespace GUI } // namespace Ingen |