Kaydet (Commit) ecdfab08 authored tarafından Katarina Behrens's avatar Katarina Behrens Kaydeden (comit) Thorsten Behrens

screenshots: interface for sc dialog factory

Change-Id: Ibe0f8ec2714002b2dc84ef0c0bb8cb845e906aab
üst a80bfcb3
......@@ -64,7 +64,9 @@ public: \
: pDlg(p) \
{} \
virtual ~Class(); \
virtual short Execute() override ;
virtual short Execute() override ; \
virtual Bitmap createScreenshot() const override; \
virtual OString GetScreenshotId() const; \
#define DECL_ABSTDLG2_BASE(Class,DialogClass) \
ScopedVclPtr<DialogClass> pDlg; \
......@@ -83,6 +85,14 @@ Class::~Class() \
short Class::Execute() \
{ \
return pDlg->Execute(); \
} \
Bitmap Class::createScreenshot() const \
{ \
return pDlg->createScreenshot(); \
} \
OString Class::GetScreenshotId() const \
{ \
return pDlg->GetScreenshotId(); \
}
#define IMPL_ABSTDLG2_BASE(Class) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment