Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
24
libs/platform/network_policy_ios.h
Normal file
24
libs/platform/network_policy_ios.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#pragma once
|
||||
|
||||
#include "platform/network_policy.hpp"
|
||||
|
||||
@class NSDate;
|
||||
|
||||
namespace network_policy
|
||||
{
|
||||
enum Stage
|
||||
{
|
||||
Ask,
|
||||
Always,
|
||||
Never,
|
||||
Today,
|
||||
NotToday
|
||||
};
|
||||
|
||||
void SetStage(Stage state);
|
||||
Stage GetStage();
|
||||
|
||||
bool CanUseNetwork();
|
||||
bool IsActivePolicyDate();
|
||||
NSDate* GetPolicyDate();
|
||||
} // namespace network_policy
|
||||
Loading…
Add table
Add a link
Reference in a new issue