root/applications/osmo4_ios/sensors.h

/* [<][>][^][v][top][bottom][index][help] */
//
//  ios_mpegv.h
//  ios_mpegv
//
//  Created by mac on 3/8/13.
//
//

#import <Foundation/Foundation.h>
#import <CoreMotion/CoreMotion.h>
#import <CoreLocation/CoreLocation.h>

#include "sensors_def.h"

@interface SensorAccess : NSObject <CLLocationManagerDelegate>
{
        SensorDataCallback* sensorCallbak;
        int sensorType;
        int gpsActive;
        int sensorActive;
}

@property (nonatomic, retain) CMMotionManager *motionManager;
@property (nonatomic, retain) NSOperationQueue *queue;
@property (nonatomic, retain) CLLocationManager *locMngr;

- (int) setSensorType :(int) type;
- (int) getSensorType;
- (int) setSensorCallback:(SensorDataCallback*)callback ;
- (int) startSensor;
- (int) stopSensor;
- (int) isSensorStarted;

@end

/* [<][>][^][v][top][bottom][index][help] */