Om  1.0.0
A universal framework for multimedia simulation
Public Attributes | List of all members
om::editors::base::ResourceTypeEditor::Delegate Class Reference

A class that contains function objects that recieve resource type editor events. More...

#include <omResourceTypeEditor.h>

Public Attributes

Function< Bool(const OpaqueResource &)> openEditor
 A function object that is called when an editor wants to open a new editor for a resource. More...
 
Function< Bool(const OpaqueResource &)> openEditorWindow
 A function object that is called when an editor wants to open a new editor window for a resource. More...
 
Function< void(const OpaqueResource &)> edited
 A function object that is called when an editor just edited a resource. More...
 

Detailed Description

A class that contains function objects that recieve resource type editor events.

Member Data Documentation

Function<Bool ( const OpaqueResource& )> om::editors::base::ResourceTypeEditor::Delegate::openEditor

A function object that is called when an editor wants to open a new editor for a resource.

The method returns whether or not the editor was able to be created.

Function<Bool ( const OpaqueResource& )> om::editors::base::ResourceTypeEditor::Delegate::openEditorWindow

A function object that is called when an editor wants to open a new editor window for a resource.

The method returns whether or not the editor window was able to be created.

Function<void ( const OpaqueResource& )> om::editors::base::ResourceTypeEditor::Delegate::edited

A function object that is called when an editor just edited a resource.

The method is used to notify other editors that use the resource that they should update.


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