<table><tr><td style="">tcanabrava created this revision.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />tcanabrava requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D26202">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This is really a wip, completely broken. It's just so people can point me to<br />
the right direction.</p>

<p>Rework CfgEntry</p>

<p>Remove commented code</p>

<p>Add base class <tt style="background: #ebebeb; font-size: 13px;">KConfigCodeGenerator</tt>, a helper to generate the Header and Source files</p>

<p>Add new KConfigHeaderGenerator / Share the common Structs</p>

<p>KConfigHeaderGenerator will generate the Header,<br />
it uses the same structs as the kconfig_compiler.cpp</p>

<p>Create a Struct for the parse results and use it.</p>

<p>Fix header Generation</p>

<p>Implement the Enums / Move Quite of code around</p>

<p>Moved Create Constructor</p>

<p>Move Destructor</p>

<p>Move <tt style="background: #ebebeb; font-size: 13px;">This</tt> and <tt style="background: #ebebeb; font-size: 13px;">Const</tt> special Vars to ConfigCodeGenerator</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R237 KConfig</div></div></div><br /><div><strong>BRANCH</strong><div><div>megaRefactor</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26202">https://phabricator.kde.org/D26202</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/kconfig_compiler/CMakeLists.txt<br />
src/kconfig_compiler/KConfigCodeGenerator.cpp<br />
src/kconfig_compiler/KConfigCodeGenerator.h<br />
src/kconfig_compiler/KConfigCommonStructs.h<br />
src/kconfig_compiler/KConfigHeaderGenerator.cpp<br />
src/kconfig_compiler/KConfigHeaderGenerator.h<br />
src/kconfig_compiler/KConfigXTParameters.cpp<br />
src/kconfig_compiler/KConfigXTParameters.h<br />
src/kconfig_compiler/kconfig_compiler.cpp</div></div></div><br /><div><strong>To: </strong>tcanabrava<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns<br /></div>