summaryrefslogtreecommitdiff
path: root/odb/validator.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/validator.hxx')
-rw-r--r--odb/validator.hxx25
1 files changed, 25 insertions, 0 deletions
diff --git a/odb/validator.hxx b/odb/validator.hxx
new file mode 100644
index 0000000..623001c
--- /dev/null
+++ b/odb/validator.hxx
@@ -0,0 +1,25 @@
+// file : odb/validator.hxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC
+// license : GNU GPL v2; see accompanying LICENSE file
+
+#ifndef ODB_VALIDATOR_HXX
+#define ODB_VALIDATOR_HXX
+
+#include <odb/options.hxx>
+#include <odb/semantics/unit.hxx>
+
+class validator
+{
+public:
+ validator ();
+
+ bool
+ validate (options const&, semantics::unit&, semantics::path const&);
+
+private:
+ validator (validator const&);
+ validator& operator= (validator const&);
+};
+
+#endif // ODB_VALIDATOR_HXX