Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 4f23c27070572be9f0b80d659f540b78 > files > 104

motor-debug-3.4.0-2mdv2009.0.i586.rpm

#ifndef __PROJECTTAKE_H__
#define __PROJECTTAKE_H__

#include "motorcommon.h"

__MOTOR_BEGIN_NAMESPACE

class projecttake {
    private:
	enum takefromkind { folder, text } kind;
	string placefrom, placeto, sourcetemplate;

    public:
	projecttake();
	projecttake(const string &definition);
	~projecttake();

	void exec(const string &pfrom);
	void undo(const string &pfrom);

	string getsourcetemplate();
};

__MOTOR_END_NAMESPACE

#ifdef __MOTOR_USE_NAMESPACES

using motor::projecttake;

#endif

#endif