From 2043035eee4f8c0f3f896082651d3a5799e90ab8 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Fri, 21 Oct 2011 11:22:40 +0200 Subject: Add schema_file implementation to support schema file header and footer hooks --- odb/relational/schema.hxx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'odb/relational/schema.hxx') diff --git a/odb/relational/schema.hxx b/odb/relational/schema.hxx index 6c4cdee..29d4ff9 100644 --- a/odb/relational/schema.hxx +++ b/odb/relational/schema.hxx @@ -78,6 +78,25 @@ namespace relational }; // + // File. + // + + struct schema_file: virtual context + { + typedef schema_file base; + + virtual void + pre () + { + } + + virtual void + post () + { + } + }; + + // // Drop. // -- cgit v1.1