libyui
3.3.2
|
Abstract base class for macro recorders. More...
#include <YMacroRecorder.h>
Public Member Functions | |
virtual | ~YMacroRecorder () |
Destructor. | |
virtual void | record (const std::string ¯oFileName)=0 |
Start recording a macro to the specified file. | |
virtual void | endRecording ()=0 |
End recording and close the current macro file (if there is any). | |
virtual bool | recording () const =0 |
Return 'true' if a macro is currently being recorded. | |
virtual void | recordWidgetProperty (YWidget *widget, const char *propertyName)=0 |
Record one widget property. | |
virtual void | recordMakeScreenShot (bool enabled=false, const std::string &filename=std::string())=0 |
Record a "UI::MakeScreenShot()" statement. More... | |
Protected Member Functions | |
YMacroRecorder () | |
Constructor. | |
Friends | |
class | YMacro |
Abstract base class for macro recorders.
Applications should not use this directly, but the static methods in YMacro.
Definition at line 38 of file YMacroRecorder.h.
|
pure virtual |
Record a "UI::MakeScreenShot()" statement.
If 'enabled' is 'false', this statement will be commented out. If no file name is given, a default file name (with auto-increment) will be used.