ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <riscos.h>

Inheritance diagram for OSystem_RISCOS:
Collaboration diagram for OSystem_RISCOS:

List of all members.

Public Member Functions

virtual void init ()
 Pre-initialize backend.
virtual void initBackend ()
 The following method is called once, from main.cpp, after all config data (including command line params etc.
virtual bool hasFeature (Feature f)
 Determine whether the backend supports the specified feature.
virtual bool openUrl (const Common::String &url)
 Open the given Url in the default browser (if available on the target system).
virtual void logMessage (LogMessageType::Type type, const char *message)
 Logs a given message.

Protected Member Functions

virtual Common::String getDefaultConfigFileName ()
 Get the default file name (or even path) where the user configuration of ScummVM will be saved.
virtual Common::WriteStreamcreateLogFile ()

Protected Attributes

Common::String _logFilePath
 The path of the currently open log file, if any.

Detailed Description

Definition at line 28 of file riscos.h.


Member Function Documentation

virtual Common::WriteStream* OSystem_RISCOS::createLogFile (  )  [protected, virtual]

Reimplemented from OSystem_SDL.

virtual Common::String OSystem_RISCOS::getDefaultConfigFileName (  )  [protected, virtual]

Get the default file name (or even path) where the user configuration of ScummVM will be saved.

Note that not all ports may use this.

Reimplemented from OSystem.

virtual bool OSystem_RISCOS::hasFeature ( Feature  f  )  [virtual]

Determine whether the backend supports the specified feature.

Reimplemented from OSystem_SDL.

virtual void OSystem_RISCOS::init (  )  [virtual]

Pre-initialize backend.

It should be called after instantiating the backend. Early needed managers are created here.

Reimplemented from OSystem_SDL.

virtual void OSystem_RISCOS::initBackend (  )  [virtual]

The following method is called once, from main.cpp, after all config data (including command line params etc.

) are fully loaded.

Note:
Subclasses should always invoke the implementation of their parent class. They should do so near the end of their own implementation.

Reimplemented from OSystem_SDL.

virtual void OSystem_RISCOS::logMessage ( LogMessageType::Type  type,
const char *  message 
) [virtual]

Logs a given message.

It is up to the backend where to log the different messages. The backend should aim at using a non-buffered output for it so that no log data is lost in case of a crash.

The default implementation outputs them on stdout/stderr.

Parameters:
type the type of the message
message the message itself

Reimplemented from OSystem_SDL.

virtual bool OSystem_RISCOS::openUrl ( const Common::String url  )  [virtual]

Open the given Url in the default browser (if available on the target system).

Returns:
true on success, false otherwise.
Note:
It is up to the backend to ensure that the system is in a state that allows the user to actually see the web page. This might for example require leaving fullscreen mode.

url the URL to open

Reimplemented from OSystem.


Member Data Documentation

The path of the currently open log file, if any.

Note:
This is currently a string and not an FSNode for simplicity; e.g. we don't need to include fs.h here, and currently the only use of this value is to use it to open the log file in an editor; for that, we need it only as a string anyway.

Definition at line 48 of file riscos.h.


The documentation for this class was generated from the following file:


Generated on Sat Sep 14 2019 05:03:15 for ResidualVM by doxygen 1.7.1
curved edge   curved edge