diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-22 11:51:14 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-22 11:51:14 +0200 |
commit | 26899a31d9a85e6ec6cfb782b0977af05e3330c1 (patch) | |
tree | 2e22074dad490a2195ef22bf2f7f6ca4ed67aa88 /xsd-frontend/transformations/schema-per-type.hxx | |
parent | 90801c5afeb37e4297076bdd5354ba41a7009a3f (diff) |
Get rid of dependency on libcult
Diffstat (limited to 'xsd-frontend/transformations/schema-per-type.hxx')
-rw-r--r-- | xsd-frontend/transformations/schema-per-type.hxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/xsd-frontend/transformations/schema-per-type.hxx b/xsd-frontend/transformations/schema-per-type.hxx index 6e034d6..9498d42 100644 --- a/xsd-frontend/transformations/schema-per-type.hxx +++ b/xsd-frontend/transformations/schema-per-type.hxx @@ -8,7 +8,7 @@ #include <vector> -#include <cult/types.hxx> +#include <xsd-frontend/types.hxx> #include <xsd-frontend/semantic-graph/elements.hxx> // Path #include <xsd-frontend/semantic-graph/schema.hxx> @@ -17,8 +17,6 @@ namespace XSDFrontend { namespace Transformations { - using namespace Cult::Types; - class SchemaPerTypeTranslator { public: @@ -28,8 +26,8 @@ namespace XSDFrontend // The following two functions should return empty string if // there is no match. // - virtual WideString - translate_type (WideString const& ns, WideString const& name) = 0; + virtual String + translate_type (String const& ns, String const& name) = 0; virtual NarrowString translate_schema (NarrowString const& abs_path) = 0; @@ -49,14 +47,14 @@ namespace XSDFrontend // SchemaPerType (SchemaPerTypeTranslator&, bool fat_type_file, - Char const* by_value_key = 0); + char const* by_value_key = 0); std::vector<SemanticGraph::Schema*> transform (SemanticGraph::Schema&); private: bool fat_type_file_; - Char const* by_value_key_; + char const* by_value_key_; SchemaPerTypeTranslator& trans_; }; } |