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

#include "sourceObject.h"
#include "scripts.h"

class ExecContext;

class 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, ScriptNodePtr> TestFactory; 

#endif