diff -r 924385140d98 -r c2c61fdca848 sensorsupport/testsensor/inc/ssyreferenceproximity.h --- a/sensorsupport/testsensor/inc/ssyreferenceproximity.h Tue Aug 31 15:24:25 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,101 +0,0 @@ -// ssyreferenceproximity.h - -/* -* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* -*/ - - - - -/** - @file - @internalAll Sensor framework Reference SSY header file - @test -*/ - - -#ifndef SSYREFERENCEPROXIMITY_H -#define SSYREFERENCEPROXIMITY_H - -// INCLUDES -#include -#include - - -// PROXIMITY RELATED CHANNELS - -/** -* - Name: Proximity data channel -* - Type: Event -* - Datatype: TSensrvProximityMonitorData -* - Description: Proximity status -*/ -const TSensrvChannelTypeId KSensrvChannelTypeIdProximityMonitor = 0x2000E585; - -// PROXIMITY RELATED DATATYPES - -/** -* Proximity monitoring data type -*/ -class TSensrvProximityData - { -public: - /** - * Channel data type Id number - */ - static const TSensrvChannelDataTypeId KDataTypeId = 0x2000E585; - - /** - * Channel data type index numbers - */ - enum TSensrvProximityDataIndexes - { - ETimeStamp = 0, - EState - }; - - /** - * Possible values for proximito state - */ - enum TProximityState - { - EProximityUndefined = 0, - EProximityIndiscernible, - EProximityDiscernible - }; - -public: - - /** - * - Item name: Sampling time. - * - Item Index: 0 - * - Conditions: None - * - Description: Timestamp for a sample. - */ - TTime iTimeStamp; - - /** - * - Item name: Proximity state - * - Item Index: 0 - * - Conditions: None - * - Description: - - */ - TProximityState iProximityState; - -}; - -#endif //SSYREFERENCEPROXIMITY_H -