2 #define LIBXML_DLL_IMPORT __declspec(dllimport)
4 extern "C" int xmlLoadExtDtdDefaultValue
;
10 #include <libxml/xmlversion.h>
11 #include <libxml/xmlmemory.h>
12 #include <libxml/debugXML.h>
13 #include <libxml/HTMLtree.h>
14 #include <libxml/xmlIO.h>
15 #include <libxml/parserInternals.h>
16 #include <libxslt/xsltconfig.h>
17 #include <libxslt/xsltInternals.h>
18 #include <libxslt/transform.h>
19 #include <libxslt/xsltutils.h>
20 #include <QtCore/QString>
21 #include <kstandarddirs.h>
22 #include <kcomponentdata.h>
30 KDE_EXPORT
int kdemain( int argc
, char **argv
)
32 Q_ASSERT(!KGlobal::hasMainComponent()); // kdeinit is messed up if this is the case.
33 KComponentData
componentData( "kio_help", "kio_help4" );
34 fillInstance(componentData
);
35 (void)componentData
.config(); // we need this one to make sure system globals are read
37 kDebug(7101) << "Starting " << getpid();
41 fprintf(stderr
, "Usage: kio_help protocol domain-socket1 domain-socket2\n");
46 xmlSubstituteEntitiesDefault(1);
47 xmlLoadExtDtdDefaultValue
= 1;
49 HelpProtocol
slave(false, argv
[2], argv
[3]);
52 kDebug(7101) << "Done";