25 #ifndef YMacroRecorder_h 26 #define YMacroRecorder_h 58 virtual void record(
const std::string & macroFileName ) = 0;
74 const char * propertyName ) = 0;
84 const std::string & filename = std::string() ) = 0;
87 #endif // YMacroRecorder_h Abstract base class for macro recorders.
virtual void record(const std::string ¯oFileName)=0
Start recording a macro to the specified file.
YMacroRecorder()
Constructor.
virtual void endRecording()=0
End recording and close the current macro file (if there is any).
virtual ~YMacroRecorder()
Destructor.
virtual void recordMakeScreenShot(bool enabled=false, const std::string &filename=std::string())=0
Record a "UI::MakeScreenShot()" statement.
virtual void recordWidgetProperty(YWidget *widget, const char *propertyName)=0
Record one widget property.
Simple access to macro recording and playing.
virtual bool recording() const =0
Return 'true' if a macro is currently being recorded.