14 changed files with 133 additions and 46 deletions
-
1src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.kt
-
3src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Applet.kt
-
1src/common/settings.h
-
2src/core/CMakeLists.txt
-
5src/core/hle/service/am/am_types.h
-
16src/core/hle/service/am/applet_manager.cpp
-
65src/core/hle/service/am/service/library_applet_creator.cpp
-
42src/core/hle/service/ns/notify_service.cpp
-
25src/core/hle/service/ns/notify_service.h
-
2src/core/hle/service/ns/ns.cpp
-
1src/qt_common/config/shared_translation.cpp
-
3src/yuzu/configuration/configure_applets.cpp
-
6src/yuzu/main.ui
-
7src/yuzu/main_window.cpp
@ -0,0 +1,42 @@ |
|||||
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
|
||||
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
|
||||
|
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
|
||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
|
||||
|
#include "common/logging/log.h"
|
||||
|
#include "common/uuid.h"
|
||||
|
#include "core/hle/service/cmif_serialization.h"
|
||||
|
#include "core/hle/service/ns/notify_service.h"
|
||||
|
#include "core/hle/service/service.h"
|
||||
|
#include "core/launch_timestamp_cache.h"
|
||||
|
#include "frontend_common/play_time_manager.h"
|
||||
|
|
||||
|
namespace Service::NS { |
||||
|
|
||||
|
INotifyService::INotifyService(Core::System& system_) |
||||
|
: ServiceFramework{system_, "pdm:ntfy"} |
||||
|
{ |
||||
|
// clang-format off
|
||||
|
static const FunctionInfo functions[] = { |
||||
|
{0, nullptr, "NotifyAppletEvent"}, |
||||
|
{2, nullptr, "NotifyOperationModeChangeEvent"}, |
||||
|
{3, nullptr, "NotifyPowerStateChangeEvent"}, |
||||
|
{4, nullptr, "NotifyClearAllEvent"}, |
||||
|
{5, nullptr, "NotifyEventForDebug"}, |
||||
|
{6, nullptr, "SuspendUserAccountEventService"}, |
||||
|
{7, nullptr, "ResumeUserAccountEventService"}, |
||||
|
{8, nullptr, "Unknown8"}, |
||||
|
{9, nullptr, "Unknown9"}, |
||||
|
{20, nullptr, "Unknown20"}, |
||||
|
{100, nullptr, "Unknown100"}, |
||||
|
{101, nullptr, "Unknown101"}, |
||||
|
|
||||
|
}; |
||||
|
// clang-format on
|
||||
|
RegisterHandlers(functions); |
||||
|
} |
||||
|
|
||||
|
INotifyService::~INotifyService() = default; |
||||
|
|
||||
|
} // namespace Service::NS
|
||||
@ -0,0 +1,25 @@ |
|||||
|
// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project |
||||
|
// SPDX-License-Identifier: GPL-3.0-or-later |
||||
|
|
||||
|
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project |
||||
|
// SPDX-License-Identifier: GPL-2.0-or-later |
||||
|
|
||||
|
#pragma once |
||||
|
|
||||
|
#include "common/uuid.h" |
||||
|
#include "core/hle/service/am/am_types.h" |
||||
|
#include "core/hle/service/cmif_types.h" |
||||
|
#include "core/hle/service/ns/ns_types.h" |
||||
|
#include "core/hle/service/service.h" |
||||
|
|
||||
|
#include <memory> |
||||
|
|
||||
|
namespace Service::NS { |
||||
|
|
||||
|
class INotifyService final : public ServiceFramework<INotifyService> { |
||||
|
public: |
||||
|
explicit INotifyService(Core::System& system_); |
||||
|
~INotifyService() override; |
||||
|
}; |
||||
|
|
||||
|
} // namespace Service::NS |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue