49 lines
1.2 KiB
C++
49 lines
1.2 KiB
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 2.3 1998/09/19 14:45:24 barrand Exp $
|
|
// GEANT4 tag $Name: geant4-00 $
|
|
//
|
|
#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);
|
|
void ApplyShellCommand (G4String);
|
|
Widget GetDialog ();
|
|
private:
|
|
void SecondaryLoop (G4String);
|
|
void ExecuteCommand (G4String);
|
|
void ShowCurrent (G4String);
|
|
void ChangeDirectoryCommand (G4String);
|
|
void ListDirectory (G4String);
|
|
private:
|
|
Widget shell,dialog;
|
|
};
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|