Properly revert FormatSpec changes on "cancel"
[ardour.git] / gtk2_ardour / about.h
index 3468a31a19e79ab27136504492116db44fe39e4d..47340f907d49a93e06cfaa94183e029b53657ec0 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2003 Paul Davis 
+    Copyright (C) 2003 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #ifndef __ardour_gtk_about_h__
 
 #include <gtkmm/aboutdialog.h>
 
-class ARDOUR_UI;
+#include "ardour/session_handle.h"
 
-class About : public Gtk::AboutDialog
+class ConfigInfoDialog;
+
+class About : public Gtk::AboutDialog, public ARDOUR::SessionHandlePtr
 {
-  public:
+public:
        About ();
        ~About ();
 
-#ifdef WITH_PAYMENT_OPTIONS
-       Gtk::Image      paypal_pixmap;
-       Gtk::Button      paypal_button;
-       void goto_paypal ();
-#endif
-};     
+private:
+       ConfigInfoDialog* config_info;
+       void show_config_info ();
+
+       static void launch_homepage (AboutDialog& about, const Glib::ustring& website_url);
+};
 
 #endif /* __ardour_gtk_about_h__ */