Files
Mike Kaganski aadde53647 Related tdf#166733 - Show Welcome dialog on the very first start only
Product updates should trigger the WhatsNew flavor of the welcome
dialog and only new installations the Welcome mode.

Change-Id: I6071ec748d735b92dd0169772dcbddceffad4760
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185976
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2025-05-29 07:49:29 +02:00

27 lines
813 B
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
*/
#pragma once
#include <sal/config.h>
#include <unotools/unotoolsdllapi.h>
namespace utl
{
/** This method is called when there's a need to determine if the
* current version of LibreOffice has been upgraded to a newer one.
*/
bool UNOTOOLS_DLLPUBLIC isProductVersionUpgraded();
/** This method is called to detect if the program is started the
* very first time after a clean installation or a profile reset.
*/
bool UNOTOOLS_DLLPUBLIC isProductVersionNew();
}