Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iBeHelper Struct Reference

This interface describes actions specific to the BeOS platform. More...

#include <behelp.h>

Inheritance diagram for iBeHelper:

iBase List of all members.

Public Methods

virtual bool UserAction (BMessage *)=0
 A user action (probably sent from the subthread), such as keypress or mouse action, in the form of a BMessage. More...

virtual bool SetCursor (csMouseCursorID)=0
 Set the mouse pointer to one of the pre-defined Crystal Space mouse shapes.

virtual bool BeginUI ()=0
 Spawn a thread in which to run the BApplication and invokes its Run() method. More...

virtual bool Quit ()=0
 Ask the Crystal Space event-loop to terminate.

virtual bool ContextClose (iGraphics2D *)=0
 Notify Crystal Space that a 2D graphics context is closing.


Detailed Description

This interface describes actions specific to the BeOS platform.

An instance of this object will be registered to the object registry with tag 'SystemHelper'. But it is recommended to query this from the object registry using the iBeHelper interface.


Member Function Documentation

bool iBeHelper::BeginUI ( ) [pure virtual]
 

Spawn a thread in which to run the BApplication and invokes its Run() method.

If the application is already running in the subthread, then this method does nothing. This extension is requested by 2D driver modules when they are about to place a window on-screen, at which point the BeOS event-loop should be running (independently of whether or not the Crystal Space event-loop is running) so that they can respond to user actions.

bool iBeHelper::UserAction ( BMessage * ) [pure virtual]
 

A user action (probably sent from the subthread), such as keypress or mouse action, in the form of a BMessage.

The BMessage is placed in a thread-safe message queue and later processed by the Crystal Space event-loop running in the main thread.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000