|
|
@ -11,10 +11,10 @@ INewsService::INewsService(Core::System& system_) : ServiceFramework{system_, "I |
|
|
static const FunctionInfo functions[] = { |
|
|
static const FunctionInfo functions[] = { |
|
|
{10100, nullptr, "PostLocalNews"}, |
|
|
{10100, nullptr, "PostLocalNews"}, |
|
|
{20100, nullptr, "SetPassphrase"}, |
|
|
{20100, nullptr, "SetPassphrase"}, |
|
|
{30100, C<&INewsService::GetSubscriptionStatus>, "GetSubscriptionStatus"}, |
|
|
|
|
|
|
|
|
{30100, D<&INewsService::GetSubscriptionStatus>, "GetSubscriptionStatus"}, |
|
|
{30101, nullptr, "GetTopicList"}, |
|
|
{30101, nullptr, "GetTopicList"}, |
|
|
{30110, nullptr, "Unknown30110"}, |
|
|
{30110, nullptr, "Unknown30110"}, |
|
|
{30200, nullptr, "IsSystemUpdateRequired"}, |
|
|
|
|
|
|
|
|
{30200, D<&INewsService::IsSystemUpdateRequired>, "IsSystemUpdateRequired"}, |
|
|
{30201, nullptr, "Unknown30201"}, |
|
|
{30201, nullptr, "Unknown30201"}, |
|
|
{30210, nullptr, "Unknown30210"}, |
|
|
{30210, nullptr, "Unknown30210"}, |
|
|
{30300, nullptr, "RequestImmediateReception"}, |
|
|
{30300, nullptr, "RequestImmediateReception"}, |
|
|
@ -24,7 +24,7 @@ INewsService::INewsService(Core::System& system_) : ServiceFramework{system_, "I |
|
|
{30901, nullptr, "Unknown30901"}, |
|
|
{30901, nullptr, "Unknown30901"}, |
|
|
{30902, nullptr, "Unknown30902"}, |
|
|
{30902, nullptr, "Unknown30902"}, |
|
|
{40100, nullptr, "SetSubscriptionStatus"}, |
|
|
{40100, nullptr, "SetSubscriptionStatus"}, |
|
|
{40101, nullptr, "RequestAutoSubscription"}, |
|
|
|
|
|
|
|
|
{40101, D<&INewsService::RequestAutoSubscription>, "RequestAutoSubscription"}, |
|
|
{40200, nullptr, "ClearStorage"}, |
|
|
{40200, nullptr, "ClearStorage"}, |
|
|
{40201, nullptr, "ClearSubscriptionStatusAll"}, |
|
|
{40201, nullptr, "ClearSubscriptionStatusAll"}, |
|
|
{90100, nullptr, "GetNewsDatabaseDump"}, |
|
|
{90100, nullptr, "GetNewsDatabaseDump"}, |
|
|
@ -43,4 +43,15 @@ Result INewsService::GetSubscriptionStatus(Out<u32> out_status, |
|
|
R_SUCCEED(); |
|
|
R_SUCCEED(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Result INewsService::IsSystemUpdateRequired(Out<bool> out_is_system_update_required) { |
|
|
|
|
|
LOG_WARNING(Service_BCAT, "(STUBBED) called"); |
|
|
|
|
|
*out_is_system_update_required = false; |
|
|
|
|
|
R_SUCCEED(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Result INewsService::RequestAutoSubscription(u64 value) { |
|
|
|
|
|
LOG_WARNING(Service_BCAT, "(STUBBED) called"); |
|
|
|
|
|
R_SUCCEED(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} // namespace Service::News
|
|
|
} // namespace Service::News
|