summaryrefslogtreecommitdiffstats
path: root/kdoctools/xslt.h
blob: 9db0a00f656cc1531c7bb3ab31a1d39e6acb9d81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _MEIN_XSLT_H_
#define _MEIN_XSLT_H_

#include <libxml/parser.h>
#include <tqvaluevector.h>

TQString transform(const TQString &file, const TQString& stylesheet,
                  const TQValueVector<const char *> &params = TQValueVector<const char *>());
TQString splitOut(const TQString &parsed, int index);
void fillInstance(KInstance &ins, const TQString &srcdir = TQString::null );
bool saveToCache( const TQString &contents, const TQString &filename );
TQString lookForCache( const TQString &filename );
TQCString fromUnicode( const TQString &data );
void tqreplaceCharsetHeader( TQString &output );

extern bool warnings_exist;
extern TQString *SRCDIR;

/**
 * Compares two files and returns true if @param newer exists and is newer than
 * @param older
 **/
bool compareTimeStamps( const TQString &older, const TQString &newer );
#endif