diff -r 000000000000 -r 4e1aa6a622a0 sysstatemgmt/systemstateplugins/adptplugin/inc/rtcadaptationref.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysstatemgmt/systemstateplugins/adptplugin/inc/rtcadaptationref.h Tue Feb 02 00:53:00 2010 +0200 @@ -0,0 +1,42 @@ +// Copyright (c) 2007-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: +// rtcadaptation.h +// +// + +#ifndef __RTCADAPTATION_H__ +#define __RTCADAPTATION_H__ + +#include + +// C Class +class CRtcAdaptationRef : public CBase, public MRtcAdaptation + { +public: + static CRtcAdaptationRef* NewL(); + ~CRtcAdaptationRef(); + + //from MRtcAdaptation + void Release(); + + void ValidateRtc(TDes8& aValidityPckg, TRequestStatus& aStatus); + void SetWakeupAlarm(TDesC8& aAlarmTimePckg, TRequestStatus& aStatus); + void UnsetWakeupAlarm(TRequestStatus& aStatus); + void Cancel(); + +private: + CRtcAdaptationRef(); + }; + +#endif // __RTCADAPTATION_H__