Ardour
9.0-pre0-582-g084a23a80d
save_template_dialog.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2017 Johannes Mueller <github@johannes-mueller.org>
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License along
15
* with this program; if not, write to the Free Software Foundation, Inc.,
16
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
*/
18
19
#pragma once
20
21
#include <string>
22
23
#include <
gtkmm/entry.h
>
24
#include <
gtkmm/textview.h
>
25
26
#include "
ardour_dialog.h
"
27
28
29
class
SaveTemplateDialog
:
public
ArdourDialog
30
{
31
public
:
32
SaveTemplateDialog
(
const
std::string&
name
,
const
std::string& description =
""
);
33
34
std::string
get_template_name
()
const
;
35
std::string
get_description
()
const
;
36
37
private
:
38
Gtk::Entry
_name_entry
;
39
Gtk::TextView
_description_editor
;
40
};
41
ardour_dialog.h
ArdourDialog
Definition:
ardour_dialog.h:40
Gtk::Entry
Definition:
entry.h:101
Gtk::TextView
Definition:
textview.h:105
SaveTemplateDialog
Definition:
save_template_dialog.h:30
SaveTemplateDialog::get_template_name
std::string get_template_name() const
SaveTemplateDialog::SaveTemplateDialog
SaveTemplateDialog(const std::string &name, const std::string &description="")
SaveTemplateDialog::_name_entry
Gtk::Entry _name_entry
Definition:
save_template_dialog.h:38
SaveTemplateDialog::get_description
std::string get_description() const
SaveTemplateDialog::_description_editor
Gtk::TextView _description_editor
Definition:
save_template_dialog.h:39
entry.h
name
GtkImageIconNameData name
Definition:
gtkimage.h:6
textview.h
gtk2_ardour
save_template_dialog.h
Generated on Wed Dec 25 2024 05:44:46 for Ardour by
1.9.1