You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
488 B
31 lines
488 B
// RmSurfaceCmd
|
|
// Provides with option to undo remove surface operation.
|
|
// Created by Krisjanis Rijnieks 2015-05-14
|
|
|
|
#pragma once
|
|
|
|
#include "ofxPiMapper.h"
|
|
#include "BaseCmd.h"
|
|
#include "BaseSurface.h"
|
|
|
|
class ofxPiMapper;
|
|
|
|
namespace ofx {
|
|
namespace piMapper {
|
|
|
|
class RmSurfaceCmd : public BaseUndoCmd {
|
|
|
|
public:
|
|
RmSurfaceCmd(ofxPiMapper * app);
|
|
void exec();
|
|
void undo();
|
|
|
|
private:
|
|
ofxPiMapper * _app;
|
|
BaseSurface * _surface;
|
|
|
|
};
|
|
|
|
} // namespace piMapper
|
|
} // namespace ofx
|
|
|
|
|