Files
geant4/source/interfaces/basic/include/G4UIXaw.hh
T
2016-06-08 15:09:25 +02:00

47 lines
1013 B
C++

// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4UIXaw.hh,v 1.2 1999/04/13 01:26:24 yhajime Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
#ifndef G4UIXaw_h
#define G4UIXaw_h
#if defined(G4UI_BUILD_XAW_SESSION) || defined(G4UI_USE_XAW)
#include <X11/Intrinsic.h>
#include "G4VBasicShell.hh"
class G4UIsession;
class G4UImanager;
class G4UIXaw : public G4VBasicShell {
public:
G4UIXaw(int,char**);
~G4UIXaw();
G4UIsession* SessionStart();
void Prompt(G4String);
void SessionTerminate();
void PauseSessionStart(G4String);
Widget GetDialog();
private:
void SecondaryLoop(G4String);
G4bool GetHelpChoice(G4int&);
void ExitHelp();
private:
Widget shell,dialog;
G4bool fHelp;
G4int fHelpChoice;
static void Callback(Widget,XtPointer,XtPointer);
};
#endif
#endif