/*
Converts hhp (HTML Help Workshop) files into cached
version for faster reading
Usage: hhp2cached file.hhp [file2.hhp ...]
*/
#include
#include
class MyApp : public wxApp
{
public:
virtual bool OnInit();
};
IMPLEMENT_APP(MyApp);
bool MyApp::OnInit()
{
for (int i = 1; i < argc; i++)
{
wxHtmlHelpData data;
wxPrintf("Processing %s...\n", argv[i]);
data.SetTempDir(wxPathOnly(argv[i]));
data.AddBook(argv[i]);
}
return FALSE;
}