You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
859 B
35 lines
859 B
15 years ago
|
/**
|
||
|
* \file man2html.h
|
||
|
*
|
||
|
* \note Despite that this file is installed publically, it should not be included
|
||
|
* \todo ### KDE4: make this file private
|
||
|
*
|
||
|
*/
|
||
|
|
||
14 years ago
|
#include <tqcstring.h>
|
||
15 years ago
|
|
||
|
/** call this with the buffer you have */
|
||
|
void scan_man_page(const char *man_page);
|
||
|
|
||
|
/**
|
||
13 years ago
|
* Set the paths to TDE resources
|
||
15 years ago
|
*
|
||
13 years ago
|
* \param htmlPath Path to the TDE resources, encoded for HTML
|
||
|
* \param cssPath Path to the TDE resources, encoded for CSS
|
||
15 years ago
|
* \since 3.5
|
||
|
*
|
||
|
*/
|
||
14 years ago
|
extern void setResourcePath(const TQCString& _htmlPath, const TQCString& _cssPath);
|
||
15 years ago
|
|
||
|
/** implement this somewhere. It will be called
|
||
|
with HTML contents
|
||
|
*/
|
||
|
extern void output_real(const char *insert);
|
||
|
|
||
|
/**
|
||
|
* called for requested man pages. filename can be a
|
||
|
* relative path! Return NULL on errors. The returned
|
||
|
* char array is freed by man2html
|
||
|
*/
|
||
|
extern char *read_man_page(const char *filename);
|