diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-19 16:19:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-19 16:19:25 +0200 |
commit | 55df757e98329e8e09afffe274ce2ceab269f8b3 (patch) | |
tree | 738b3a5b1c46e3b1b04184cfd9aeb32eb21af48a /odb/processor.hxx | |
parent | 6c01cad9cbfb6e69121d106226b2c50026f86fa9 (diff) |
Make processing top-level action, like validation and generation
Diffstat (limited to 'odb/processor.hxx')
-rw-r--r-- | odb/processor.hxx | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/odb/processor.hxx b/odb/processor.hxx new file mode 100644 index 0000000..4903108 --- /dev/null +++ b/odb/processor.hxx @@ -0,0 +1,27 @@ +// file : odb/processor.hxx +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC +// license : GNU GPL v3; see accompanying LICENSE file + +#ifndef ODB_PROCESSOR_HXX +#define ODB_PROCESSOR_HXX + +#include <odb/options.hxx> +#include <odb/semantics/unit.hxx> + +class processor +{ +public: + class failed {}; + + void + process (options const&, semantics::unit&, semantics::path const&); + + processor () {} + +private: + processor (processor const&); + processor& operator= (processor const&); +}; + +#endif // ODB_PROCESSOR_HXX |