| 1 | package Config::Apple::Profile::Targets; | ||
| 2 | |||
| 3 | 16 | ▶ | use 5.10.1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 16 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 16 | ▶ | use warnings FATAL => 'all'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 16 | our $VERSION = '0.87.1'; | |
| 8 | |||
| 9 | 16 | ▶ | use Exporter::Easy ( |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 16 | OK => [qw( | |
| 11 | $TargetIOS $TargetMACOSX | ||
| 12 | )], | ||
| 13 | TAGS => [ | ||
| 14 | 'all' => [qw( | ||
| 15 | $TargetIOS $TargetMACOSX | ||
| 16 | )], | ||
| 17 | ], | ||
| 18 | 16 | ); | |
| 19 | 16 | ▶ | use Readonly; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 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 | 16 | 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 | 16 | Readonly our $TargetMACOSX => 2; | |
| 58 | |||
| 59 | |||
| 60 | =head1 ACKNOWLEDGEMENTS | ||
| 61 | |||
| 62 | Refer to the L<Config::Apple::Profile> for acknowledgements. | ||
| 63 | |||
| 64 | =head1 AUTHOR | ||
| 65 | |||
| 66 | A. Karl Kornel, C<< <karl at kornel.us> >> | ||
| 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<http://dev.perl.org/licenses/> for more information. | ||
| 77 | |||
| 78 | =cut | ||
| 79 | |||
| 80 | 16 | 1; | |