line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Config::Apple::Profile::Targets; |
2
|
|
|
|
|
|
|
|
3
|
7
|
|
|
7
|
|
88
|
use 5.14.4; |
|
7
|
|
|
|
|
26
|
|
|
7
|
|
|
|
|
289
|
|
4
|
7
|
|
|
7
|
|
45
|
use strict; |
|
7
|
|
|
|
|
13
|
|
|
7
|
|
|
|
|
244
|
|
5
|
7
|
|
|
7
|
|
42
|
use warnings FATAL => 'all'; |
|
7
|
|
|
|
|
12
|
|
|
7
|
|
|
|
|
571
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.55'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
use Exporter::Easy ( |
10
|
7
|
|
|
|
|
121
|
OK => [qw( |
11
|
|
|
|
|
|
|
$TargetIOS $TargetMACOSX |
12
|
|
|
|
|
|
|
)], |
13
|
|
|
|
|
|
|
TAGS => [ |
14
|
|
|
|
|
|
|
'all' => [qw( |
15
|
|
|
|
|
|
|
$TargetIOS $TargetMACOSX |
16
|
|
|
|
|
|
|
)], |
17
|
|
|
|
|
|
|
], |
18
|
7
|
|
|
7
|
|
53
|
); |
|
7
|
|
|
|
|
15
|
|
19
|
7
|
|
|
7
|
|
1555
|
use Readonly; |
|
7
|
|
|
|
|
17
|
|
|
7
|
|
|
|
|
948
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=encoding utf8 |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 NAME |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Config::Apple::Profile::Targets - Constants for payload targets |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 DESCRIPTION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Apple Configuration Profiles can be used on different platforms. Although some |
31
|
|
|
|
|
|
|
payloads only work on specific platforms, most payloads can be at least |
32
|
|
|
|
|
|
|
partially applied to all platforms that support Apple Configuration Profiles. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
Provided in this module are a number of read-only scalars that will be used |
35
|
|
|
|
|
|
|
(instead of strings) to identify the platforms supported by configuration |
36
|
|
|
|
|
|
|
profiles. The scalars are all OK for import into your local namespace, or you |
37
|
|
|
|
|
|
|
can simply import C<:all> to get all of them at once. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 TYPES |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
Apple Configuration Profiles can be targeted to the following platforms: |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head2 iOS C<$TargetIOS> |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Apple's iOS. In general, at least iOS version 5.0 is required. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=cut |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Readonly our $TargetIOS => 1; |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head2 Mac OS X C<$TargetOSX> |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Apple's Mac OS X. In general, at least OS X version 10.7 is required. |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=cut |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Readonly our $TargetMACOSX => 2; |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 ACKNOWLEDGEMENTS |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
Refer to the L for acknowledgements. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 AUTHOR |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
A. Karl Kornel, C<< >> |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
Copyright © 2014 A. Karl Kornel. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
73
|
|
|
|
|
|
|
under the terms of either: the GNU General Public License as published |
74
|
|
|
|
|
|
|
by the Free Software Foundation; or the Artistic License. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
See L for more information. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=cut |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
1; |