doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
MaterialModifier Class Referenceabstract

Base class for modifications that can be made to a material that can be undone and redone. More...

#include <MaterialModifier.h>

Inheritance diagram for MaterialModifier:
AddMaterialFolderModifier AddMaterialModifier AttributeMaterialModifier DeleteMaterialFolderModifier DeleteMaterialModifier MoveMaterialModifier RenameMaterialFolderModifier RenameMaterialModifier StageDeleteModifier StageInsertModifier StageMoveModifier

Public Member Functions

 MaterialModifier (MaterialDocManager *manager, const char *materialName)
 Constructor for MaterialModifier. More...
 
virtual ~MaterialModifier ()
 
virtual void Undo ()=0
 
virtual void Redo ()=0
 

Protected Attributes

MaterialDocManagermanager
 
idStr materialName
 

Detailed Description

Base class for modifications that can be made to a material that can be undone and redone.

Definition at line 38 of file MaterialModifier.h.

Constructor & Destructor Documentation

MaterialModifier::MaterialModifier ( MaterialDocManager manager,
const char *  materialName 
)

Constructor for MaterialModifier.

Definition at line 42 of file MaterialModifier.cpp.

virtual MaterialModifier::~MaterialModifier ( )
inlinevirtual

Definition at line 42 of file MaterialModifier.h.

Member Function Documentation

virtual void MaterialModifier::Redo ( )
pure virtual
virtual void MaterialModifier::Undo ( )
pure virtual

Member Data Documentation

MaterialDocManager* MaterialModifier::manager
protected

Definition at line 48 of file MaterialModifier.h.

idStr MaterialModifier::materialName
protected

Definition at line 49 of file MaterialModifier.h.


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