class ContentListener

Listener base class allowing content load notifications.

File location: framework/cauldron/framework/inc/core/contentmanager.h

Methods

Return type

Description

void

OnNewContentLoaded (ContentBlock * pContentBlock) = 0
Override in ContentListener derived classes to be notified when content has been loaded.

void

OnContentUnloaded (ContentBlock * pContentBlock) = 0
Override in ContentListener derived classes to be notified when content has been unloaded.

Detailed description

Listener base class allowing content load notifications. Any class that wishes to receive content load/unload notifications must derive from this class.

Methods

OnNewContentLoaded

Copied!

virtual void OnNewContentLoaded (ContentBlock * pContentBlock) = 0

Override in ContentListener derived classes to be notified when content has been loaded.


OnContentUnloaded

Copied!

virtual void OnContentUnloaded (ContentBlock * pContentBlock) = 0

Override in ContentListener derived classes to be notified when content has been unloaded.