Sophie

Sophie

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

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

#ifndef __UIREGEXPER_H__
#define __UIREGEXPER_H__

#include "motorcommon.h"
#include "ncursesui.h"

__MOTOR_BEGIN_NAMESPACE

class uiregexper {
    protected:
	dialogbox db;
	string regexp, example;
	bool initialized;

    public:
	uiregexper();
	~uiregexper();

	void setregexp(const string &aregexp);
	void setexample(const string &aexample);

	string getregexp() const;

	void exec();
};

__MOTOR_END_NAMESPACE

#ifdef __MOTOR_USE_NAMESPACES

using motor::uiregexper;

#endif

extern uiregexper regexper;

#endif