commonappservices/alarmserver/AlarmAlert/Include/ASAltRequestQuietPeriodEnd.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __ASALTREQUESTQUIETPERIODEND_H__
       
    17 #define __ASALTREQUESTQUIETPERIODEND_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 
       
    21 class RASAltClientSession;
       
    22 class MASAltAlarmAlertObserver;
       
    23 
       
    24 class CASAltRequestQuietPeriodEnd : public CActive
       
    25 	{
       
    26 public:								
       
    27 	static CASAltRequestQuietPeriodEnd* NewL(RASAltClientSession& aSession,MASAltAlarmAlertObserver& aObserver);
       
    28 	~CASAltRequestQuietPeriodEnd ();
       
    29 
       
    30 	void RequestQuietPeriodEnd();
       
    31 
       
    32 private:									
       
    33 	CASAltRequestQuietPeriodEnd(RASAltClientSession& aSession,MASAltAlarmAlertObserver& aObserver);
       
    34 	void ConstructL();
       
    35 
       
    36 private:									
       
    37 	void RunL();
       
    38 	void DoCancel();
       
    39 
       
    40 private:									
       
    41 	inline RASAltClientSession&	Session() {return iSession;}
       
    42 
       
    43 private:									
       
    44 	RASAltClientSession& iSession;
       
    45 	MASAltAlarmAlertObserver& iObserver;
       
    46 	TPckgBuf<TTime> iTimeBuf;
       
    47 	};
       
    48 
       
    49 #endif