start collecting iPhone specific stuff in platform_iphone.m

This commit is contained in:
matthias.ringwald 2009-08-15 21:32:06 +00:00
parent 43bfb1bd9c
commit ac3013478d
2 changed files with 34 additions and 0 deletions

13
src/platform_iphone.h Normal file
View File

@ -0,0 +1,13 @@
//
// platform_iphone.h
//
// support for the iPhone platform
//
// Created by Matthias Ringwald on 8/15/09.
//
#pragma once
#include "hci.h"
void platform_iphone_status_handler(BLUETOOTH_STATE state);

21
src/platform_iphone.m Normal file
View File

@ -0,0 +1,21 @@
//
// platform_iphone.m
//
// Created by Matthias Ringwald on 8/15/09.
//
#import "platform_iphone.h"
// update SpringBoard icon
void platform_iphone_status_handler(BLUETOOTH_STATE state){
switch (state) {
case BLUETOOTH_OFF:
break;
case BLUETOOTH_ON:
break;
case BLUETOOTH_ACTIVE:
break;
default:
break;
}
}