sysstatemgmt/systemstateplugins/adptplugin/inc/rtcadaptationref.h
changeset 0 4e1aa6a622a0
child 21 ccb4f6b3db21
--- /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 <ssm/ssmadaptation.h>
+
+// 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__