os/security/cryptoservices/filebasedcertificateandkeystores/test/keytool/keytool_controller.h
Update contrib.
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
19 #ifndef __KEYTOOL_CONTROLLER_H_
20 #define __KEYTOOL_CONTROLLER_H_
25 #include "controller.h"
27 #include "keytool_defcontroller.h"
28 #include "keytool_view.h"
29 #include "keytool_engine.h"
31 class CKeyToolParameters;
34 * The controller in the MVC pattern for the Symbian OS keytool.
36 class CKeyToolController : public CController, public KeyToolDefController
39 static CKeyToolController* NewLC(MKeyToolView& aView);
41 static CKeyToolController* NewL(MKeyToolView& aView);
43 ~CKeyToolController();
46 * Given a command code it delegates to the proper handler.
48 * @param aCommand The command code to be executed.
50 void HandleCommandL(TInt aCommand, CKeyToolParameters* aParam);
54 CKeyToolController(MKeyToolView& aView);
57 CKeyToolEngine* iEngine;
60 #endif //__KEYTOOL_CONTROLLER_H_