32 #if defined(G4INTY_BUILD_WT) || defined(G4INTY_USE_WT) 
   41 #include <Wt/WApplication> 
   42 #include <Wt/WEnvironment> 
   45 G4Wt* G4Wt::instance    = NULL;
 
   50 G4Wt* G4Wt::getInstance (
 
   55   return G4Wt::getInstance (0,NULL,(
char*)
"Geant4");
 
   59 G4Wt* G4Wt::getInstance (
 
   68     instance = 
new G4Wt(a_argn,a_args,a_class);
 
   84 #ifdef G4DEBUG_INTERFACES_COMMON 
   85   printf(
"G4Wt::G4Wt try to inited Wt\n");
 
   90     SetMainInteractor (wServer);
 
   92     SetArguments      (a_argn,a_args);
 
   94 #ifdef G4DEBUG_INTERFACES_COMMON 
   95     printf(
"G4Wt::G4Wt alredy inited in external \n");
 
  115         args = (
char **)malloc( 1 * 
sizeof(
char *) );
 
  116         args[0] = (
char *)malloc(10 * 
sizeof(
char));
 
  117         strncpy(args[0], 
"my_app \0", 9);
 
  120       int *p_argn = (
int*)malloc(
sizeof(
int));
 
  122 #ifdef G4DEBUG_INTERFACES_COMMON 
  123       printf(
"G4Wt::G4Wt WAppl \n");
 
  125       Wt::WApplication:: instance();
 
  135 #ifdef G4DEBUG_INTERFACES_COMMON 
  136           printf(
"G4Wt::G4Wt SetMainInteractor\n");
 
  140         SetArguments      (a_argn,a_args);
 
  141 #ifdef G4DEBUG_INTERFACES_COMMON 
  142         printf(
"G4Wt::G4Wt inited Wt END\n");
 
  147 #ifdef G4DEBUG_INTERFACES_COMMON 
  149     printf(
"G4Wt::wApp already exist\n");
 
  151     printf(
"G4Wt::wApp not exist\n");
 
  157   DisableSecondaryLoop ();
 
  178 void* G4Wt::GetEvent (
 
  194 void G4Wt::FlushAndWaitExecution (
 
G4GLOB_DLL std::ostream G4cout