[sword-cvs] sword/bindings/corba/orbitcpp server.cpp,1.3,1.4 swordorb-impl.hpp,1.3,1.4

sword@www.crosswire.org sword@www.crosswire.org
Wed, 7 May 2003 16:07:45 -0700


Update of /usr/local/cvsroot/sword/bindings/corba/orbitcpp
In directory www:/tmp/cvs-serv3490/bindings/corba/orbitcpp

Modified Files:
	server.cpp swordorb-impl.hpp 
Log Message:



Index: server.cpp
===================================================================
RCS file: /usr/local/cvsroot/sword/bindings/corba/orbitcpp/server.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** server.cpp	5 May 2003 19:07:38 -0000	1.3
--- server.cpp	7 May 2003 23:07:42 -0000	1.4
***************
*** 4,9 ****
  #include <iostream>
  #include <swmgr.h>
  
! sword::SWMgr swordmgr;
  
  int main (int argc, char* argv[]) {
--- 4,10 ----
  #include <iostream>
  #include <swmgr.h>
+ #include <markupfiltmgr.h>
  
! sword::SWMgr swordmgr(new sword::MarkupFilterMgr(sword::FMT_HTMLHREF));
  
  int main (int argc, char* argv[]) {

Index: swordorb-impl.hpp
===================================================================
RCS file: /usr/local/cvsroot/sword/bindings/corba/orbitcpp/swordorb-impl.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** swordorb-impl.hpp	6 May 2003 03:27:56 -0000	1.3
--- swordorb-impl.hpp	7 May 2003 23:07:42 -0000	1.4
***************
*** 30,33 ****
--- 30,35 ----
  	char *getStripText() throw(CORBA::SystemException) { return CORBA::string_dup((char *)delegate->StripText()); }
  	char *getRenderText() throw(CORBA::SystemException) { return CORBA::string_dup((char *)delegate->RenderText()); }
+ 	char *getConfigEntry(const char *key) throw(CORBA::SystemException) { return CORBA::string_dup(((char *)delegate->getConfigEntry(key)) ? (char *)delegate->getConfigEntry(key):""); }
+ 
  };