summaryrefslogtreecommitdiff
path: root/gtk2_ardour/splash.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2019-10-11 14:29:55 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2019-10-11 14:29:55 -0600
commit54acf6af6a4b571863e1c69be4defad6b222bc32 (patch)
tree22249488f032afe53c6768e8d1dabfa8c16b2c32 /gtk2_ardour/splash.h
parentda2d6312c43213241e0a60656d631a89255d2951 (diff)
enforce singleton nature of Splash a little more rigorously, and slightly rationalize it's use
Diffstat (limited to 'gtk2_ardour/splash.h')
-rw-r--r--gtk2_ardour/splash.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/splash.h b/gtk2_ardour/splash.h
index fc0a458237..342673cd76 100644
--- a/gtk2_ardour/splash.h
+++ b/gtk2_ardour/splash.h
@@ -34,10 +34,11 @@ class ARDOUR_UI;
class Splash : public Gtk::Window
{
public:
- Splash ();
~Splash ();
- static Splash* instance() { return the_splash; }
+ static Splash* instance();
+ static void drop();
+ static bool exists ();
void display ();
void pop_back_for (Gtk::Window&);
@@ -51,6 +52,7 @@ public:
void hide ();
private:
+ Splash ();
static Splash* the_splash;
Glib::RefPtr<Gdk::Pixbuf> pixbuf;