libQuotient
libQuotient copied to clipboard
Draft: Generate C/C++ CamelCase forwarding headers
Fix #445 still WIP, I need to finish doingit for the csapi generated files too
One thing I'm not quite happy in this approach (and I understand that it's the way KDE goes, but still) is that one has to explicitly add the HeaderName
every time a new public headername.h
is added. I wonder how inaccurate would be a script picking a class name from the header file using some regex...
I wonder how inaccurate would be a script picking a class name from the header file
That script would at least need to magically figure out which letters to capitalize :/
The "magic" would boil down to looking inside the file for case-insensitive matches of the file name and then using whatever case is there... and perhaps it would be best just to move on from thestreamofwords like roommemberevent.h
- so let's do it once, rename the files to the likes of RoomMemberEvent.h
, making production of extensionless symlinks a trivial task.