]>
git.saurik.com Git - wxWidgets.git/blob - utils/hhp2cached/hhp2cached.cpp
2 Converts hhp (HTML Help Workshop) files into cached
3 version for faster reading
5 Usage: hhp2cached file.hhp [file2.hhp ...]
9 // For compilers that support precompilation, includes "wx/wx.h".
10 #include "wx/wxprec.h"
20 #include "wx/html/helpdata.h"
23 class MyApp
: public wxApp
26 virtual bool OnInit();
33 for (int i
= 1; i
< argc
; i
++)
36 wxPrintf(_T("Processing %s...\n"), argv
[i
]);
37 data
.SetTempDir(wxPathOnly(argv
[i
]));
38 data
.AddBook(argv
[i
]);