b49151074f
svn path=/trunk/kdebase/kwin/; revision=44552
30 lines
638 B
C++
30 lines
638 B
C++
/*****************************************************************
|
|
kwin - the KDE window manager
|
|
|
|
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
|
|
******************************************************************/
|
|
#ifndef MAIN_H
|
|
#define MAIN_H
|
|
|
|
#include <kapp.h>
|
|
#include "workspace.h"
|
|
|
|
typedef QValueList<Workspace*> WorkspaceList;
|
|
class Application : public KApplication
|
|
{
|
|
public:
|
|
Application();
|
|
~Application();
|
|
|
|
void commitData( QSessionManager& sm );
|
|
void saveState( QSessionManager& sm );
|
|
|
|
protected:
|
|
bool x11EventFilter( XEvent * );
|
|
|
|
private:
|
|
WorkspaceList workspaces;
|
|
};
|
|
|
|
|
|
#endif
|