messagingfw/msgsrvnstore/server/inc/cmsvmailinitwaiter.h
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 // Copyright (c) 2004-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 __CMSVMAILINITWAITER_H__
       
    17 #define __CMSVMAILINITWAITER_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 #include <f32file.h>
       
    21 
       
    22 class CMsvServer;
       
    23 
       
    24 class CMsvMailinitWaiter : public CActive
       
    25 	{
       
    26 public:
       
    27 	static CMsvMailinitWaiter* NewL(CMsvServer& aServer);
       
    28 	void WaitFor(RProcess& aProcess, TDriveNumber aDriveNum);
       
    29 	~CMsvMailinitWaiter();
       
    30 
       
    31 private:	
       
    32 	// From CActive
       
    33 	virtual void DoCancel();
       
    34 	virtual void RunL();
       
    35 	
       
    36 	CMsvMailinitWaiter(CMsvServer& aServer);
       
    37 	
       
    38 private:
       
    39 	CMsvServer& iServer;
       
    40 	RProcess iProcess;
       
    41 	TDriveNumber iDriveNum;
       
    42 	};
       
    43 
       
    44 #endif