its about that time
[ardour2.git] / gtk2_ardour / nag.h
blob911f09d926502c2f3a6c59a2cfb5e5b4fa4809c2
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
12 public:
13 ~NagScreen();
15 static NagScreen* maybe_nag (std::string context);
16 void nag ();
18 private:
19 NagScreen (std::string context, bool maybe_subscriber);
21 Gtk::Label message;
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 static bool is_subscribed (bool& really);
38 #endif /* __gtk_ardour_nag_h__ */