![]() |
|
|||
File indexing completed on 2025-08-28 08:27:13
0001 // 0002 // ios.h 0003 // DateTimeLib 0004 // 0005 // The MIT License (MIT) 0006 // 0007 // Copyright (c) 2016 Alexander Kormanovsky 0008 // 0009 // Permission is hereby granted, free of charge, to any person obtaining a copy 0010 // of this software and associated documentation files (the "Software"), to deal 0011 // in the Software without restriction, including without limitation the rights 0012 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 0013 // copies of the Software, and to permit persons to whom the Software is 0014 // furnished to do so, subject to the following conditions: 0015 // 0016 // The above copyright notice and this permission notice shall be included in all 0017 // copies or substantial portions of the Software. 0018 // 0019 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 0020 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 0021 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 0022 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 0023 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 0024 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 0025 // SOFTWARE. 0026 0027 #ifndef ios_hpp 0028 #define ios_hpp 0029 0030 #if __APPLE__ 0031 # include <TargetConditionals.h> 0032 # if TARGET_OS_IPHONE 0033 # include <string> 0034 0035 namespace arrow_vendored::date 0036 { 0037 namespace iOSUtils 0038 { 0039 0040 std::string get_tzdata_path(); 0041 std::string get_current_timezone(); 0042 0043 } // namespace iOSUtils 0044 } // namespace arrow_vendored::date 0045 0046 # endif // TARGET_OS_IPHONE 0047 #else // !__APPLE__ 0048 # define TARGET_OS_IPHONE 0 0049 #endif // !__APPLE__ 0050 #endif // ios_hpp
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |