OpenMW
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
MWGui::ReferenceInterface Class Reference

this class is intended for GUI interfaces that access an MW-Reference for example dialogue window accesses an NPC, or Container window accesses a Container these classes have to be automatically closed if the reference becomes unavailable make sure that checkReferenceAvailable() is called every frame and that onReferenceUnavailable() has been overridden More...

#include <referenceinterface.hpp>

List of all members.

Public Member Functions

 ReferenceInterface ()
virtual ~ReferenceInterface ()
void checkReferenceAvailable ()
 closes the window, if the MW-reference has become unavailable

Protected Member Functions

virtual void onReferenceUnavailable ()=0
 called when reference has become unavailable

Protected Attributes

MWWorld::Ptr mPtr

Private Attributes

MWWorld::CellStoremCurrentPlayerCell

Detailed Description

this class is intended for GUI interfaces that access an MW-Reference for example dialogue window accesses an NPC, or Container window accesses a Container these classes have to be automatically closed if the reference becomes unavailable make sure that checkReferenceAvailable() is called every frame and that onReferenceUnavailable() has been overridden


Constructor & Destructor Documentation


Member Function Documentation

closes the window, if the MW-reference has become unavailable

virtual void MWGui::ReferenceInterface::onReferenceUnavailable ( ) [protected, pure virtual]

Member Data Documentation


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