os/security/cryptoservices/filebasedcertificateandkeystores/test/certtool/certtool_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 __CERTTOOL_CONTROLLER_H_
20 #define __CERTTOOL_CONTROLLER_H_
26 #include <cctcertinfo.h>
28 #include "certtool_defcontroller.h"
29 #include "certtool_engine.h"
30 #include "keytool_view.h"
31 #include "controller.h"
33 class CKeyToolParameters;
36 * The controller in the MVC pattern for the Symbian OS certtool.
38 class CCertToolController : public CController, public CertToolDefController
41 static CCertToolController* NewLC(MKeyToolView& aView);
43 ~CCertToolController();
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);
56 CCertToolController(MKeyToolView& aView);
59 CCertToolEngine* iEngine;
62 #endif //__CERTTOOL_CONTROLLER_H_