14 Mar
2005
14 Mar
'05
6:56 p.m.
Commandline options
Implement code that takes argc,argv, parses it via popt, and stores it in a member of Inkscape::Application::Application in src/application/application.cpp. If you"ve not used popt before, here"s a handy PDF on it: http://www.rpm.org/local/popt.pdf
The current option handling code is in main.cpp, but is kind of hackish so feel free to redesign it a bit.
Glib 2.6 has a new API to address this need, if you're going to use glibmm the new API (GOption) is wrapped.