31 #if defined (G4VIS_BUILD_OPENGLXM_DRIVER) || defined (G4VIS_USE_OPENGLXM)
33 #ifndef G4OPENGLXMVWIDGETCOMPONENT_HH
34 #define G4OPENGLXMVWIDGETCOMPONENT_HH
38 class G4OpenGLXmVWidgetContainer;
40 class G4OpenGLXmVWidgetComponent :
public G4OpenGLXmVWidgetObject
44 G4OpenGLXmVWidgetComponent();
45 virtual ~G4OpenGLXmVWidgetComponent();
47 virtual void AddYourselfTo (G4OpenGLXmVWidgetContainer*) = 0;
49 virtual Widget* GetPointerToParent () = 0;
50 virtual Widget* GetPointerToWidget () = 0;