kwin/main.h
Matthias Ettrich b49151074f Session management for KDE-2.x : say hello to the ksmserver
svn path=/trunk/kdebase/kwin/; revision=44552
2000-03-24 22:23:02 +00:00

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