os/security/cryptoservices/filebasedcertificateandkeystores/test/keytool/controller.h
First public contribution.
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 __CONTROLLER_H_
20 #define __CONTROLLER_H_
24 #include <mctkeystore.h>
27 #include <cctcertinfo.h>
30 #include "keytool_view.h"
33 class CController : public CBase
36 void DisplayErrorL(const TDesC& aError, TInt aErrorCode, TBool aPageWise);
37 void DisplayErrorL(const TDesC& aError, TBool aPageWise);
38 void DisplayLocalisedMsgL(TInt aResourceId);
39 void DisplayLocalisedMsgL(TInt aResourceId, TInt aErrorCode);
41 void DisplayKeyL(CCTKeyInfo& aKey, TBool aIsDetailed, TBool aPageWise);
43 void DisplayCertL(CCTCertInfo& aCert, CCertificate& aCertificate, RUidArray aApps, TBool aTrusted, TBool aIsDetailed, TBool aPageWise);
46 MKeyToolView& GetView();
49 CController(MKeyToolView& aView);
54 RResourceFile iResourceFile;