/* * Copyright (c) 2018 Taner Sener * * This file is part of MobileFFmpeg. * * MobileFFmpeg is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * MobileFFmpeg is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with MobileFFmpeg. If not, see . */ #include #include #include #include /** * This class is used to detect running architecture. */ @interface ArchDetect : NSObject /** * Returns running cpu architecture name. * * @return running cpu architecture name as NSString */ + (NSString*)getCpuArch; /** * Returns loaded architecture name. * * @return loaded architecture name as NSString */ + (NSString*)getArch; /** * Returns whether MobileFFmpeg release is a long term release or not. * * @return yes=1 or no=0 */ + (int)isLTSBuild; @end