From 12bbcce5018a09f1ab4c629bdab813f9bf079605 Mon Sep 17 00:00:00 2001 From: Yusuf Keten Date: Fri, 5 Jun 2020 14:50:39 +0300 Subject: 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 --- include/vcl/abstdlg.hxx | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/vcl/abstdlg.hxx') 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 CreateAboutDialog(weld::Window* pParent) = 0; + // create additions dialog + virtual VclPtr + CreateAdditionsDialog(weld::Window* pParent) = 0; + // create info dialog to show tip-of-the-day virtual VclPtr CreateTipOfTheDayDialog(weld::Window* pParent) = 0; -- cgit