52 cerr <<
"Usage: hhpcomp <input.hhp>" <<
endl;
57 int prefixlen = absolute_name.find_last_of(
'/');
67 chm_config.
title = project_file.get_title_string().c_str();
68 chm_config.
hhc = project_file.get_contents_file_string().c_str();
69 chm_config.
hhk = project_file.get_index_file_string().c_str();
70 chm_config.
deftopic = project_file.get_default_topic_string().c_str();
71 chm_config.
language = project_file.get_language_code();
78 cerr <<
"could not initialize chmc" <<
endl;
83 it != project_file.get_file_pathes_iterator_end(); ++it)
90 cerr <<
"could not add file: " << *it <<
endl;
void chmc_term(struct chmcFile *chm)
int chmc_init(struct chmcFile *chm, const char *filename, struct chmcConfig *config)
GLenum GLuint GLenum GLsizei const GLchar * buf
basic_ostream< _CharT, _Traits > &_STLP_CALL endl(basic_ostream< _CharT, _Traits > &__os)
string real_path(const char *path)
string replace_backslashes(string s)
_STLP_DECLSPEC _Stl_aligned_buffer< ostream > cerr
struct chmcTreeNode * chmc_add_file(struct chmcFile *chm, const char *filename, UInt16 prefixlen, int sect_id, UChar *buf, UInt64 len)
int chmc_tree_done(struct chmcFile *chm)
_CRTIMP int __cdecl stat(const char *_Filename, struct stat *_Stat)
int main(int argc, char **argv)