sysstatemgmt/systemstatereferenceplugins/custcmd/inc/cmdclearstartupreason.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 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 /**
       
    17  @file
       
    18  @internalComponent
       
    19  @released
       
    20 */
       
    21 
       
    22 #ifndef CMDCLEARSTARTUPREASON_H
       
    23 #define CMDCLEARSTARTUPREASON_H
       
    24 
       
    25 #include <ssm/ssmcustomcommand.h>
       
    26 //#include <f32file.h>
       
    27 
       
    28 class CSsmCustomCommandEnv;
       
    29 class CRepository;
       
    30 
       
    31 NONSHARABLE_CLASS(CCustomCmdClearStartupReason) : public CBase, public MSsmCustomCommand
       
    32     {
       
    33 public:
       
    34 	static CCustomCmdClearStartupReason* NewL();
       
    35 
       
    36 	// From MSsmCustomCommand
       
    37 	TInt Initialize(CSsmCustomCommandEnv* aCmdEnv);
       
    38 	void Execute(const TDesC8& aParams, TRequestStatus& aRequest);
       
    39 	void ExecuteCancel();
       
    40 	void Close();
       
    41 	void Release();
       
    42 
       
    43 private:
       
    44 	CCustomCmdClearStartupReason();
       
    45 	~CCustomCmdClearStartupReason();
       
    46 
       
    47 private:
       
    48     CRepository* iRepository;
       
    49     };
       
    50 #endif // CMDCLEARSTARTUPREASON_H