- add sources.
[platform/framework/web/crosswalk.git] / src / mojo / public / bindings / generators / cpp_templates / struct_declaration
1 class $CLASS {
2  public:
3   static $CLASS* New(mojo::Buffer* buf);
4
5 $SETTERS
6
7 $GETTERS
8
9  private:
10   friend class mojo::internal::ObjectTraits<$CLASS>;
11
12   $CLASS();
13   ~$CLASS();  // NOT IMPLEMENTED
14
15   mojo::internal::StructHeader _header_;
16 $FIELDS
17 };
18 MOJO_COMPILE_ASSERT(sizeof($CLASS) == $SIZE,
19                     bad_sizeof_$CLASS);