diff options
author | Yusuf Keten <ketenyusuf@gmail.com> | 2020-06-05 14:50:39 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-06-25 22:16:55 +0200 |
commit | 12bbcce5018a09f1ab4c629bdab813f9bf079605 (patch) | |
tree | 0e59cb9c31c8b34e5bb41d5cfffff8d435ab7f07 /include/vcl/abstdlg.hxx | |
parent | 3377dd995da3ab01c535d514f1bfc7927fe8c16f (diff) |
tdf#133026: Tight integration of extensions - Additions Dialog first iteration
- Add the uno command .uno:AdditionsDialog
- Add the necessary commands to cui makefiles.
- Add the dialog AdditionsDialog for only test
- Implement the basic functionality to show up when clicked on the
menu/toolbar item.
Change-Id: I89dd74e49f5ff246ca355d2f8d1397621b26dea6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95593
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'include/vcl/abstdlg.hxx')
-rw-r--r-- | include/vcl/abstdlg.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/vcl/abstdlg.hxx b/include/vcl/abstdlg.hxx index 1c8d4f968b53..862aa973f2bc 100644 --- a/include/vcl/abstdlg.hxx +++ b/include/vcl/abstdlg.hxx @@ -131,6 +131,12 @@ protected: virtual ~AbstractAboutDialog() override = default; }; +class VCL_DLLPUBLIC AbstractAdditionsDialog : public VclAbstractDialog +{ +protected: + virtual ~AbstractAdditionsDialog() override = default; +}; + class VCL_DLLPUBLIC AbstractTipOfTheDayDialog : public VclAbstractDialog { protected: @@ -183,6 +189,10 @@ public: virtual VclPtr<AbstractAboutDialog> CreateAboutDialog(weld::Window* pParent) = 0; + // create additions dialog + virtual VclPtr<AbstractAdditionsDialog> + CreateAdditionsDialog(weld::Window* pParent) = 0; + // create info dialog to show tip-of-the-day virtual VclPtr<AbstractTipOfTheDayDialog> CreateTipOfTheDayDialog(weld::Window* pParent) = 0; |