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
);
18 static bool open_uri (const char*);
20 NagScreen (std::string context
, bool maybe_subscriber
);
23 Gtk::VButtonBox button_box
;
24 Gtk::RadioButtonGroup button_group
;
25 Gtk::RadioButton donate_button
;
26 Gtk::RadioButton subscribe_button
;
27 Gtk::RadioButton existing_button
;
28 Gtk::RadioButton next_time_button
;
29 Gtk::RadioButton never_again_button
;
31 void mark_never_again ();
32 void mark_subscriber ();
33 void mark_affirmed_subscriber ();
34 void offer_to_donate ();
35 void offer_to_subscribe ();
36 static bool is_subscribed (bool& really
);
39 #endif /* __gtk_ardour_nag_h__ */