OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 from cc_generator import CCGenerator | 5 from cc_generator import CCGenerator |
6 from h_generator import HGenerator | 6 from h_generator import HGenerator |
7 | 7 |
8 class CppGenerator(object): | 8 class CppGenerator(object): |
9 def __init__(self, type_generator, cpp_namespace_pattern): | 9 def __init__(self, type_generator): |
10 self.h_generator = HGenerator(type_generator, cpp_namespace_pattern) | 10 self.h_generator = HGenerator(type_generator) |
11 self.cc_generator = CCGenerator(type_generator, cpp_namespace_pattern) | 11 self.cc_generator = CCGenerator(type_generator) |
OLD | NEW |