summaryrefslogtreecommitdiff
path: root/project2/common/test.h
blob: edeb22fb4e75f42599d32eaa027038f52b347137 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef TEST_H
#define TEST_H

#include "sourceObject.h"
#include "scripts.h"
#include <visibility.h>

class ExecContext;

class DLL_PUBLIC Test : public virtual SourceObject {
	public:
		Test(ScriptNodePtr);
		virtual bool passes(ExecContext *) const = 0;
		virtual void reset() const;
};
typedef boost::intrusive_ptr<const Test> TestPtr;
typedef AdHoc::Factory<Test, const ScriptNode *> TestFactory; 

#endif