pkiutilities/CTSecurityDialogs/NotifInc/CTNoTrustQuery.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 19 Aug 2010 10:45:23 +0300
branchRCL_3
changeset 20 63339781d179
parent 0 164170e6151a
permissions -rw-r--r--
Revision: 201031 Kit: 201033

/*
* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  
*
*/



#ifndef CTNOTRUSTQUERY_H
#define CTNOTRUSTQUERY_H

//  INCLUDES

#include <AknQueryDialog.h>

// FORWARD DECLARATIONS

class CCTSecurityDialogsAO;
class CAknSinglePopupMenuStyleListBox;

// CLASS DECLARATION

/**
*  Notifier class for showing SSL security dialogs
*/
NONSHARABLE_CLASS( CCTNoTrustQuery ): public CAknQueryDialog
    {
    public:     // constructors and destructor

        CCTNoTrustQuery(
            CCTSecurityDialogsAO& aNotifier,
            TBool& aRetVal,
            TRequestStatus& aClientStatus,
            HBufC* aServerName,
            TBool aShowPermAccept,
            TBool& aIsDeleted );
            
        virtual ~CCTNoTrustQuery();

    private:    // from CEikDialog
        TBool OkToExitL( TInt aButtonId );
        void PostLayoutDynInitL();

    private: // New functions
        TBool OptionsMenuL();

    private:    // data
        CCTSecurityDialogsAO& iNotifier;
        TBool& iRetVal; 		//Dialog response
        TRequestStatus* iClientStatus;
        HBufC* iServerName;
        TBool iShowPermAccept;
        TBool& iDeleted;
    };

#endif  // CTNOTRUSTQUERY_H