//
// C++ Interface: kxecommand
//
// Description: 
//
//
// Author: Adam Charytoniuk <achary@poczta.onet.pl>, (C) 2003
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef KXECOMMAND_H
#define KXECOMMAND_H

#include <kcommand.h>
#include "kxedocument.h"

/**
This is a base class for undoable commands in our application

@author Adam Charytoniuk
*/
class KXECommand : public KCommand
{
public:
	/** Constructor. Commands refer only to KXEDocument, not parts or views.
	The KXEDocument is a class that owns KCommandHistory objcect.
	*/
	KXECommand(KXEDocument* pDocument);

	~KXECommand();

protected:
	KXEDocument* m_pDocument;
};

#endif
