Files
ladybird/Libraries/LibCore/TimeZoneWatcher.h
R-Goc 919f44f3a5 LibCore: Explicitly export symbols from LibCore
This patch adds explicit symbol export to LibCore. This leads to about
350 less symbols being exported.
2026-02-26 18:31:57 +01:00

31 lines
560 B
C++

/*
* Copyright (c) 2024, Tim Flynn <trflynn89@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Error.h>
#include <AK/Function.h>
#include <AK/Noncopyable.h>
#include <AK/NonnullOwnPtr.h>
#include <LibCore/Export.h>
namespace Core {
class CORE_API TimeZoneWatcher {
AK_MAKE_NONCOPYABLE(TimeZoneWatcher);
public:
static ErrorOr<NonnullOwnPtr<TimeZoneWatcher>> create();
virtual ~TimeZoneWatcher() = default;
Function<void()> on_time_zone_changed;
protected:
TimeZoneWatcher() = default;
};
}