sysstatemgmt/systemstatereferenceplugins/custcmd/inc/cmdcheckuserdrive.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors: Custom command for checking user drive
       
    13 *
       
    14 * Description:
       
    15 * Declaration of CSsmCheckUserDrive class.
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef CMDCHECKUSERDRIVE_H
       
    20 #define CMDCHECKUSERDRIVE_H
       
    21 
       
    22 #include <ssm/ssmcustomcommand.h>
       
    23 
       
    24 class CSsmCustomCommandEnv;
       
    25 
       
    26 NONSHARABLE_CLASS(CCustomCmdCheckUserDrive) : public CBase, public MSsmCustomCommand
       
    27     {
       
    28 
       
    29 public:
       
    30 	static CCustomCmdCheckUserDrive* NewL();
       
    31 
       
    32 	// From MSsmCustomCommand
       
    33 	TInt Initialize(CSsmCustomCommandEnv* aCmdEnv);
       
    34 	void Execute(const TDesC8& aParams, TRequestStatus& aRequest);
       
    35 	void ExecuteCancel();
       
    36 	void Close();
       
    37 	void Release();
       
    38 
       
    39 private:
       
    40 	CCustomCmdCheckUserDrive();
       
    41 	~CCustomCmdCheckUserDrive();
       
    42     
       
    43 private:
       
    44     CSsmCustomCommandEnv* iCmdEnv;
       
    45     };
       
    46 
       
    47 #endif // CMDCHECKUSERDRIVE_H