Swiftray  1.0
Commands::RemoveLayerCmd Class Reference

Command for removing layers. More...

#include <command.h>

Inheritance diagram for Commands::RemoveLayerCmd:
Commands::BaseCmd

Public Member Functions

 RemoveLayerCmd (const LayerPtr &layer)
 
void redo (Document *doc) override
 
void undo (Document *doc) override
 
- Public Member Functions inherited from Commands::BaseCmd
 BaseCmd ()=default
 

Public Attributes

LayerPtr layer_
 

Detailed Description

Command for removing layers.

Constructor & Destructor Documentation

◆ RemoveLayerCmd()

Commands::RemoveLayerCmd::RemoveLayerCmd ( const LayerPtr layer)
inline

Member Function Documentation

◆ redo()

void RemoveLayerCmd::redo ( Document doc)
overridevirtual

Reimplemented from Commands::BaseCmd.

◆ undo()

void RemoveLayerCmd::undo ( Document doc)
overridevirtual

Reimplemented from Commands::BaseCmd.

Member Data Documentation

◆ layer_

LayerPtr Commands::RemoveLayerCmd::layer_

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