summaryrefslogtreecommitdiffstats
path: root/kdoctools/xslt.h
blob: 777c77573992ab7d2247bb0c5f97851124e73a0d (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 <qvaluevector.h>

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

extern bool warnings_exist;
extern QString *SRCDIR;

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