project_files/HedgewarsMobile/Classes/HWUtils.m
changeset 6832 fae8fd118da9
parent 6822 206db098f8c5
child 7048 0a4c88935902
equal deleted inserted replaced
6831:f848120b3fcc 6832:fae8fd118da9
    12  * GNU General Public License for more details.
    12  * GNU General Public License for more details.
    13  *
    13  *
    14  * You should have received a copy of the GNU General Public License
    14  * You should have received a copy of the GNU General Public License
    15  * along with this program; if not, write to the Free Software
    15  * along with this program; if not, write to the Free Software
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    17  *
       
    18  * File created on 01/10/2012.
       
    19  */
    17  */
    20 
    18 
    21 
    19 
    22 #import "HWUtils.h"
    20 #import "HWUtils.h"
    23 #import <sys/types.h>
    21 #import <sys/types.h>
    24 #import <sys/sysctl.h>
    22 #import <sys/sysctl.h>
    25 #import <netinet/in.h>
    23 #import <netinet/in.h>
    26 #import <SystemConfiguration/SCNetworkReachability.h>
    24 #import <SystemConfiguration/SCNetworkReachability.h>
    27 #import "SDL_uikitwindow.h"
    25 #import "SDL_uikitwindow.h"
       
    26 
    28 
    27 
    29 static NSString *cachedModel = nil;
    28 static NSString *cachedModel = nil;
    30 static NSArray *cachedColors = nil;
    29 static NSArray *cachedColors = nil;
    31 static NSMutableArray *activePorts = nil;
    30 static NSMutableArray *activePorts = nil;
    32 
    31