Initial commit of the QtGstreamer helper code generator.
authorGeorge Kiagiadakis <kiagiadakis.george@gmail.com>
Sun, 14 Mar 2010 12:37:57 +0000 (14:37 +0200)
committerGeorge Kiagiadakis <kiagiadakis.george@gmail.com>
Sun, 14 Mar 2010 12:37:57 +0000 (14:37 +0200)
commitc1b4410913fead7f95e48f8f606489fc84a704ea
treee4c4ec8af4a9e8c2024ffe26e2721dcc43fce1f8
parentc90e880d8bdb01ff600bbe035e75b902cc5a327a
Initial commit of the QtGstreamer helper code generator.

This is a code generator that will parse QtGstreamer's
header files and will produce some extra code:
 * For each QGLIB_REGISTER_TYPE() macro, it will provide its
   QGLIB_REGISTER_TYPE_IMPLEMENTATION() counterpart.
 * For each defined enum, it will generate BOOST_STATIC_ASSERTs
   that will ensure that the values of the enums are exactly
   the same as in Gstreamer. This will help catch enum errors at
   compile time, since all Gstreamer's enums need to be redefined
   in the bindings to avoid exporting the Gstreamer API/ABI.
CMakeLists.txt
codegen/CMakeLists.txt [new file with mode: 0644]
codegen/analyzer.l [new file with mode: 0644]
codegen/generator.cpp [new file with mode: 0644]
codegen/generator.h [new file with mode: 0644]
codegen/parser.y [new file with mode: 0644]
codegen/yystype.h [new file with mode: 0644]