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 enum Mode { IDEMode, AssistantMode };
00022 static Mode mode;
00023
00024 private:
00025
00026 static KDevMainWindow *s_instance;
00027
00028 };
00029
00030 #endif
This file is part of the documentation for KDevelop Version 3.1.2.