GSOC09 extraction tool patch
|Reported by:||SF/remere||Owned by:||SF/remere|
Little late due to misunderstanding on my part.
Just a patch of changing command line arguments for one tool (I've already converted almost all of them, keeping it brief for clarity), also contains the util file, which all the tools use for their CLI parsing (and path handling). Most time was spent thinking and fighting my fingers from breaking the coding conventions. ;)
It is questionable if the util.h/.cpp should contain C++ code, I originally wrote it to use only C. But then I realized all tools use C++ anyways (infact, forcing C compiler almost causes all tools to fail), and chose to create a Filename class for clarity. Kept the STL or any advanced features out of it, so even the weakest C++ compiler should be able to compile it without problems (I think).
Oh, and I already have SVN access, submitting it here to hear your opinions.
Ticket imported from: #2802670. Ticket imported from: patches/1132.