2f90225543
Export client.h, workspace.h and options.h so that people can write plugins. svn path=/trunk/kdebase/kwin/; revision=83707
30 lines
652 B
C++
30 lines
652 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<KWinInternal::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
|