#ifndef __TOPLEVEL_H__ #define __TOPLEVEL_H__ #include "tdevmainwindow.h" /**\brief This class handles the single object of type TDevMainWindow. It is completely static (all methods and attributes). */ class TopLevel { public: static TDevMainWindow *getInstance(); //!< Get a pointer to the single KDevTopLevel object static bool mainWindowValid(); static void invalidateInstance(TDevMainWindow *instance); //!< Signal that the object has been (or is about to be) destroyed private: static TDevMainWindow *s_instance; //!< Pointer to the single KDevTopLevel object or 0L }; #endif