You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
681 B
28 lines
681 B
15 years ago
|
#ifndef __TOPLEVEL_H__
|
||
|
#define __TOPLEVEL_H__
|
||
|
|
||
|
|
||
|
#include "kdevmainwindow.h"
|
||
|
|
||
|
|
||
|
/**\brief This class handles the single object of type KDevMainWindow.
|
||
|
|
||
|
It is completely static (all methods and attributes).
|
||
|
*/
|
||
|
|
||
|
class TopLevel
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
static KDevMainWindow *getInstance(); //!< Get a pointer to the single KDevTopLevel object
|
||
|
static bool mainWindowValid();
|
||
|
static void invalidateInstance(KDevMainWindow *instance); //!< Signal that the object has been (or is about to be) destroyed
|
||
|
|
||
|
private:
|
||
|
|
||
|
static KDevMainWindow *s_instance; //!< Pointer to the single KDevTopLevel object or 0L
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif
|