Check out the iPDF viewer code. It's written in C++, at least partially. So programming in C++ is certainly possible.
As for the contentLister, I agree that converting some parts to C++ could offer advantages for developers. I really don't know much about how complex that would be or how it would change the program, but if you think it can be done it might be worth investigating.
Long term, I think we need to determine where we want to go with the contentLister. One possibility that I like is to hack up the contentLister into two parts, backend and frontend. The backend would take care of all of the hardware handling, forwarding keypresses to X, etc. etc. The idea would be to handle all the dirty details and allow normal programs to run normally in X without needing to have special modifications. Then we could take an existing file manager, add a custom skin and some file handling abilities, and use that as the "frontend" that deals with opening files etc.
Of course, the contentLister is already set up to deal with the registry, manifest files, and other details. So it might be better, as you suggest, to just revise the contentLister to make it cleaner.
|