00001 //----------------------------------------------------------------------------------------
00012 // RCS-ID: $Id: splashscreen.h,v 1.8 2002/09/10 18:07:56 robertoconnor Exp $
00013 //----------------------------------------------------------------------------------------
00014
00015 //----------------------------------------------------------------------------------------
00016 // Begin single inclusion of this .h file condition
00017 //----------------------------------------------------------------------------------------
00018
00019 #ifndef _SPLASHSCREEN_H_
00020 #define _SPLASHSCREEN_H_
00021
00022 //----------------------------------------------------------------------------------------
00023 // GCC interface
00024 //----------------------------------------------------------------------------------------
00025
00026 #if defined(__GNUG__) && ! defined(__APPLE__)
00027 #pragma interface "splashscreen.h"
00028 #endif
00029
00030 //----------------------------------------------------------------------------------------
00031 // Shared defines
00032 //----------------------------------------------------------------------------------------
00033
00034 #include "plucker_defines.h"
00035
00036 //----------------------------------------------------------------------------------------
00037 // Begin feature removal condition
00038 //----------------------------------------------------------------------------------------
00039
00040 #if ( setupUSE_SPLASHSCREEN )
00041
00042 //----------------------------------------------------------------------------------------
00043 // Headers
00044 //----------------------------------------------------------------------------------------
00045
00046 #include "wx/splash.h" // wxSplashScreen
00047
00048 //----------------------------------------------------------------------------------------
00049 // Class definition: splashscreen
00050 //----------------------------------------------------------------------------------------
00051
00053
00059 class splashscreen : public wxSplashScreen
00060 {
00061
00062 // I guess one doesn't use DECLARE_DYNAMIC_CLASS on these.
00063
00064 public:
00065
00067
00072 splashscreen( wxWindow* parent = NULL,
00073 const wxBitmap& bitmap = wxNullBitmap
00074 );
00075
00077 ~splashscreen();
00078
00080
00084 static splashscreen* get( bool create_on_demand = TRUE );
00085
00087 static splashscreen* set( splashscreen* desired_splashscreen );
00088
00090 void close();
00091
00092 private:
00093
00095 static splashscreen* ms_instance;
00096 };
00097
00098 //----------------------------------------------------------------------------------------
00099 // End feature removal condition
00100 //----------------------------------------------------------------------------------------
00101
00102 #endif // setupUSE_SPLASHSCREEN
00103
00104 //----------------------------------------------------------------------------------------
00105 // End single inclusion of this .h file condition
00106 //----------------------------------------------------------------------------------------
00107
00108 #endif //_WRAPPER_SPLASHCREEN_H_
00109