OLD | NEW |
| (Empty) |
1 {% filter format_blink_cpp_source_code %} | |
2 | |
3 {% include 'copyright_block.txt' %} | |
4 | |
5 #include "{{class_name}}.h" | |
6 | |
7 // TODO(dglazkov): Implement generating includes. | |
8 {% for filename in cpp_includes %} | |
9 #include "{{filename}}.h" | |
10 {% endfor %} | |
11 | |
12 namespace blink { | |
13 namespace api { | |
14 | |
15 // TODO(dglazkov): Implement constant generation | |
16 {% for constant in constants %} | |
17 // {{ constant.name }} | |
18 {% endfor %} | |
19 | |
20 // TODO(dglazkov): Implement constructor generation | |
21 | |
22 // TODO(dglazkov): Implement attribute getter/setter generation | |
23 {% for attribute in attributes %} | |
24 // {{attribute.return_type}} {{attribute.name}} | |
25 {% endfor %} | |
26 | |
27 // TODO(dglazkov): Implement method generation | |
28 {% for method in methods %} | |
29 // {{method.return_type}} Cpp{{class_name}}::{{method.name}} | |
30 {% endfor %} | |
31 | |
32 } // namespace api | |
33 } // namespace blink | |
34 | |
35 {% endfilter %} | |
OLD | NEW |