diff -r b183ec05bd8c -r 19bba8228ff0 remotemgmt_plat/syncml_ds_customization_api/tsrc/synchconfigvalidator/customdatasynchdeviceinfo.h --- a/remotemgmt_plat/syncml_ds_customization_api/tsrc/synchconfigvalidator/customdatasynchdeviceinfo.h Tue Aug 31 16:04:06 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,74 +0,0 @@ -/* -* Copyright (c) 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: -* -*/ - -#ifndef CIMEIREADER_H -#define CIMEIREADER_H - -#include -#include -#include - -class CDeviceInfo : public CActive -{ -public: - enum States - { - EModel, - EManufacturer, - ESerialnumber, - }; - - static CDeviceInfo* NewL(); - static CDeviceInfo* NewLC(); - ~CDeviceInfo(); - - TBuf imei(); - TBuf model(); - TBuf manufacturer(); - TBuf imsi(); - TUint batteryLevel(); - TInt32 signalStrength(); - -protected: - void DoCancel(); - void RunL(); - -private: - CDeviceInfo(); - void ConstructL(); - -private: - CTelephony* iTelephony; - - CTelephony::TBatteryInfoV1Pckg iBatteryInfoV1Pkg; - CTelephony::TBatteryInfoV1 iBatteryInfoV1; - - CTelephony::TPhoneIdV1 iPhoneIdV1; - CTelephony::TPhoneIdV1Pckg iPhoneIdV1Pkg; - - CTelephony::TSignalStrengthV1Pckg iSignalStrengthV1Pckg; - CTelephony::TSignalStrengthV1 iSignalStrengthV1; - - CTelephony::TSubscriberIdV1Pckg iSubscriberIdV1Pckg; - CTelephony::TSubscriberIdV1 iSubscriberIdV1; - - CActiveSchedulerWait *iWait; - - bool phoneIdFetched; -}; - -#endif /* CIMEIREADER_H */