/*****************************************************************
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