ee87d173ec
svn path=/trunk/kdebase/kwin/; revision=40512
32 lines
481 B
C++
32 lines
481 B
C++
#ifndef MAIN_H
|
|
#define MAIN_H
|
|
|
|
#include <kapp.h>
|
|
#include "workspace.h"
|
|
#include <dcopobject.h>
|
|
|
|
class kwiniface : virtual public DCOPObject
|
|
{
|
|
K_DCOP
|
|
public:
|
|
kwiniface() : DCOPObject("kwiniface") {}
|
|
~kwiniface() {}
|
|
void logout();
|
|
};
|
|
|
|
typedef QValueList<Workspace*> WorkspaceList;
|
|
class Application : public KApplication
|
|
{
|
|
public:
|
|
Application();
|
|
~Application();
|
|
|
|
protected:
|
|
bool x11EventFilter( XEvent * );
|
|
|
|
private:
|
|
WorkspaceList workspaces;
|
|
};
|
|
|
|
|
|
#endif
|