1 #ifndef __gtk_ardour_nag_h__
2 #define __gtk_ardour_nag_h__
4 #include "ardour_dialog.h"
6 #include <gtkmm/label.h>
7 #include <gtkmm/radiobutton.h>
8 #include <gtkmm/buttonbox.h>
10 class NagScreen
: public ArdourDialog
15 static NagScreen
* maybe_nag (std::string context
);
19 NagScreen (std::string context
, bool maybe_subscriber
);
22 Gtk::VButtonBox button_box
;
23 Gtk::RadioButtonGroup button_group
;
24 Gtk::RadioButton donate_button
;
25 Gtk::RadioButton subscribe_button
;
26 Gtk::RadioButton existing_button
;
27 Gtk::RadioButton next_time_button
;
28 Gtk::RadioButton never_again_button
;
30 void mark_never_again ();
31 void mark_subscriber ();
32 void mark_affirmed_subscriber ();
33 void offer_to_donate ();
34 void offer_to_subscribe ();
35 bool open_uri (const char*);
36 static bool is_subscribed (bool& really
);
39 #endif /* __gtk_ardour_nag_h__ */