Free Electron
OperatorSurfaceI.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __operate_OperatorSurfaceI_h__
8 #define __operate_OperatorSurfaceI_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief General Surface Manipulation
17 
18  @ingroup operate
19 *//***************************************************************************/
20 class FE_DL_EXPORT OperatorSurfaceI:
21  virtual public HandlerI,
22  public CastableAs<OperatorSurfaceI>
23 {
24  public:
25 
26 virtual BWORD saveState(String& rBuffer) =0;
27 virtual BWORD loadState(const String& rBuffer) =0;
28 
29 virtual BWORD undo(String a_label,sp<Counted> a_spCounted) =0;
30 virtual BWORD redo(String a_label,sp<Counted> a_spCounted) =0;
31 
32 virtual void setPlugin(OperatorPlugin* a_pPlugin) =0;
33 };
34 
35 } /* namespace ext */
36 } /* namespace fe */
37 
38 #endif /* __operate_OperatorSurfaceI_h__ */
kernel
Definition: namespace.dox:3
Interface to handle signals from an SignalerI.
Definition: HandlerI.h:22
Automatically reference-counted string container.
Definition: String.h:128
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
General Surface Manipulation.
Definition: OperatorSurfaceI.h:20
Plugin back reference for OperatorSurfaceI.
Definition: OperatorPlugin.h:20
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192