• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kdoctools
 

kdoctools

  • kdoctools
main_ghelp.cpp
1 #include <string.h>
2 #include <sys/time.h>
3 #include <unistd.h>
4 #include <libxml/xmlversion.h>
5 #include <libxml/xmlmemory.h>
6 #include <libxml/debugXML.h>
7 #include <libxml/HTMLtree.h>
8 #include <libxml/xmlIO.h>
9 #include <libxml/parserInternals.h>
10 #include <libxslt/xsltconfig.h>
11 #include <libxslt/xsltInternals.h>
12 #include <libxslt/transform.h>
13 #include <libxslt/xsltutils.h>
14 #include <tqstring.h>
15 #include <kstandarddirs.h>
16 #include <kinstance.h>
17 #include <kdebug.h>
18 #include <stdlib.h>
19 #include "kio_help.h"
20 #include <xslt.h>
21 
22 extern int xmlLoadExtDtdDefaultValue;
23 
24 extern "C"
25 {
26  KDE_EXPORT int kdemain( int argc, char **argv )
27  {
28  KInstance instance( "kio_ghelp" );
29  fillInstance(instance);
30  (void)instance.config(); // we need this one to make sure system globals are read
31 
32  kdDebug(7101) << "Starting " << getpid() << endl;
33 
34  if (argc != 4)
35  {
36  fprintf(stderr, "Usage: kio_ghelp protocol domain-socket1 domain-socket2\n");
37  exit(-1);
38  }
39 
40  LIBXML_TEST_VERSION
41  xmlSubstituteEntitiesDefault(1);
42  xmlLoadExtDtdDefaultValue = 1;
43 
44  HelpProtocol slave( true, argv[2], argv[3] );
45  slave.dispatchLoop();
46 
47  kdDebug(7101) << "Done" << endl;
48  return 0;
49  }
50 }
51 
52 
53 

kdoctools

Skip menu "kdoctools"
  • Main Page
  • File List
  • Related Pages

kdoctools

Skip menu "kdoctools"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdoctools by doxygen 1.8.1.2
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |