sensrvmagneticnorthsensor.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : sensrvmagneticnorthsensor.h
00004 *  Part of     : Sensor Definitions API
00005 *  Description : Channel data types definitions
00006 *  Version     : %version:  2 %
00007 *
00008 *  Copyright © 2008 Nokia.  All rights reserved.
00009 *  This material, including documentation and any related computer
00010 *  programs, is protected by copyright controlled by Nokia.  All
00011 *  rights are reserved.  Copying, including reproducing, storing,
00012 *  adapting or translating, any or all of this material requires the
00013 *  prior written consent of Nokia.  This material also contains
00014 *  confidential information which may not be disclosed to others
00015 *  without the prior written consent of Nokia.
00016 * ============================================================================
00017 * Template version: 4.1
00018 */
00019 
00020 
00021 #ifndef MAGNETICNORTHSENSOR_H
00022 #define MAGNETICNORTHSENSOR_H
00023 
00024 //  INCLUDES
00025 #include <e32base.h>
00026 #include <sensrvtypes.h> 
00027 
00028 // TILT RELATED CHANNELS
00029 
00037 const TSensrvChannelTypeId KSensrvChannelTypeIdMagneticNorthData = 0x2000BEDF;
00038 
00039 
00040 // TILT RELATED DATATYPES
00041 
00045 class TSensrvMagneticNorthData
00046     {
00047 public:
00051     static const TSensrvChannelDataTypeId KDataTypeId = 0x2000BEDF;
00052 
00056     enum TSensrvMagneticNorthDataIndexes
00057         {
00058         ETimeStamp = 0,
00059         EAngleFromMagneticNorth
00060         };
00061 
00062 public:
00063 
00070     TTime iTimeStamp;    
00071 
00078     TInt iAngleFromMagneticNorth;  
00079     };
00080 
00081 #endif //MAGNETICNORTHSENSOR_H
00082 
00083 // End of File

Copyright © Nokia Corporation 2001-2007
Back to top