src/toplevel.h
Go to the documentation of this file.00001 #ifndef __TOPLEVEL_H__ 00002 #define __TOPLEVEL_H__ 00003 00004 00005 #include "kdevmainwindow.h" 00006 00007 00013 class TopLevel 00014 { 00015 public: 00016 00017 static KDevMainWindow *getInstance(); 00018 static bool mainWindowValid(); 00019 static void invalidateInstance(KDevMainWindow *instance); 00020 00021 00022 private: 00023 00024 static KDevMainWindow *s_instance; 00025 00026 }; 00027 00028 #endif