summaryrefslogtreecommitdiffstats
path: root/src/gui/RenameWindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/RenameWindow.hpp')
-rw-r--r--src/gui/RenameWindow.hpp64
1 files changed, 0 insertions, 64 deletions
diff --git a/src/gui/RenameWindow.hpp b/src/gui/RenameWindow.hpp
deleted file mode 100644
index 36264879..00000000
--- a/src/gui/RenameWindow.hpp
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- This file is part of Ingen.
- Copyright 2007-2015 David Robillard <http://drobilla.net/>
-
- Ingen is free software: you can redistribute it and/or modify it under the
- terms of the GNU Affero General Public License as published by the Free
- Software Foundation, either version 3 of the License, or any later version.
-
- Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
- A PARTICULAR PURPOSE. See the GNU Affero General Public License for details.
-
- You should have received a copy of the GNU Affero General Public License
- along with Ingen. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#ifndef INGEN_GUI_RENAMEWINDOW_HPP
-#define INGEN_GUI_RENAMEWINDOW_HPP
-
-#include <gtkmm/builder.h>
-#include <gtkmm/button.h>
-#include <gtkmm/entry.h>
-#include <gtkmm/label.h>
-
-#include "ingen/client/ObjectModel.hpp"
-#include "ingen/types.hpp"
-
-#include "Window.hpp"
-
-namespace Ingen {
-namespace GUI {
-
-/** Rename window. Handles renaming of any (Ingen) object.
- *
- * \ingroup GUI
- */
-class RenameWindow : public Window
-{
-public:
- RenameWindow(BaseObjectType* cobject,
- const Glib::RefPtr<Gtk::Builder>& xml);
-
- void present(SPtr<const Client::ObjectModel> object);
-
-private:
- void set_object(SPtr<const Client::ObjectModel> object);
-
- void values_changed();
- void cancel_clicked();
- void ok_clicked();
-
- SPtr<const Client::ObjectModel> _object;
-
- Gtk::Entry* _symbol_entry;
- Gtk::Entry* _label_entry;
- Gtk::Label* _message_label;
- Gtk::Button* _cancel_button;
- Gtk::Button* _ok_button;
-};
-
-} // namespace GUI
-} // namespace Ingen
-
-#endif // INGEN_GUI_RENAMEWINDOW_HPP