Ocean
platform/apple/ios/System.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) Meta Platforms, Inc. and affiliates.
3
*
4
* This source code is licensed under the MIT license found in the
5
* LICENSE file in the root directory of this source tree.
6
*/
7
8
#ifndef META_OCEAN_PLATFORM_APPLE_IOS_SYSTEM_H
9
#define META_OCEAN_PLATFORM_APPLE_IOS_SYSTEM_H
10
11
#include "
ocean/platform/apple/ios/IOS.h
"
12
13
namespace
Ocean
14
{
15
16
namespace
Platform
17
{
18
19
namespace
Apple
20
{
21
22
namespace
IOS
23
{
24
25
/**
26
* This class implements system functions on Apple iOS platforms.
27
* @ingroup platformappleios
28
*/
29
class
System
30
{
31
public
:
32
33
/**
34
* Returns the name of the current iPhone model.
35
* @param name The resulting name of the current device platform
36
* @return True, if succeeded
37
*/
38
static
bool
iphoneModelName
(std::string& name);
39
40
/**
41
* Returns the version of iOS running on the current device.
42
* @param version The resulting version of the operating system
43
* @return True, if succeeded
44
*/
45
static
bool
iosVersion
(std::string& version);
46
};
47
48
}
49
50
}
51
52
}
53
54
}
55
56
#endif
// META_OCEAN_PLATFORM_APPLE_IOS_SYSTEM_H
Ocean::Platform::Apple::IOS::System
This class implements system functions on Apple iOS platforms.
Definition:
platform/apple/ios/System.h:30
Ocean::Platform::Apple::IOS::System::iphoneModelName
static bool iphoneModelName(std::string &name)
Returns the name of the current iPhone model.
Ocean::Platform::Apple::IOS::System::iosVersion
static bool iosVersion(std::string &version)
Returns the version of iOS running on the current device.
Ocean
The namespace covering the entire Ocean framework.
Definition:
Accessor.h:15
IOS.h
impl
ocean
platform
apple
ios
System.h
Generated on Wed Nov 13 2024 18:48:19 for Ocean by
1.9.1