2020-10-20 01:27:24 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
2020-12-15 15:16:09 +03:00
|
|
|
#include "../utils/timeutil.h"
|
2020-10-20 01:27:24 +03:00
|
|
|
|
|
|
|
|
namespace notifications
|
|
|
|
|
{
|
|
|
|
|
const inline wchar_t CantDragElevatedDontShowAgainRegistryPath[] = LR"(SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DontShowMeThisDialogAgain\{e16ea82f-6d94-4f30-bb02-d6d911588afd})";
|
|
|
|
|
const inline int64_t CantDragElevatedDisableIntervalInDays = 30;
|
|
|
|
|
|
|
|
|
|
const inline wchar_t PreviewModulesDontShowAgainRegistryPath[] = LR"(SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DontShowMeThisDialogAgain\{7e29e2b2-b31c-4dcd-b7b0-79c078b02430})";
|
|
|
|
|
const inline int64_t PreviewModulesDisableIntervalInDays = 30;
|
|
|
|
|
|
|
|
|
|
bool disable_toast(const wchar_t* registry_path);
|
|
|
|
|
bool is_toast_disabled(const wchar_t* registry_path, const int64_t disable_interval_in_days);
|
|
|
|
|
}
|