make mixbus packaging work, to some degree
[ardour2.git] / gtk2_ardour / nag.h
blob6d5b19139c11b3e348901ca363e3430aac57d886
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 static bool open_uri (const char*);
19 private:
20 NagScreen (std::string context, bool maybe_subscriber);
22 Gtk::Label message;
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__ */