pkiutilities/CTSecurityDialogs/NotifInc/CTNoTrustQuery.h
branchRCL_3
changeset 21 09b1ac925e3f
parent 20 63339781d179
child 22 03674e5abf46
equal deleted inserted replaced
20:63339781d179 21:09b1ac925e3f
     1 /*
       
     2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "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".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CTNOTRUSTQUERY_H
       
    21 #define CTNOTRUSTQUERY_H
       
    22 
       
    23 //  INCLUDES
       
    24 
       
    25 #include <AknQueryDialog.h>
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 
       
    29 class CCTSecurityDialogsAO;
       
    30 class CAknSinglePopupMenuStyleListBox;
       
    31 
       
    32 // CLASS DECLARATION
       
    33 
       
    34 /**
       
    35 *  Notifier class for showing SSL security dialogs
       
    36 */
       
    37 NONSHARABLE_CLASS( CCTNoTrustQuery ): public CAknQueryDialog
       
    38     {
       
    39     public:     // constructors and destructor
       
    40 
       
    41         CCTNoTrustQuery(
       
    42             CCTSecurityDialogsAO& aNotifier,
       
    43             TBool& aRetVal,
       
    44             TRequestStatus& aClientStatus,
       
    45             HBufC* aServerName,
       
    46             TBool aShowPermAccept,
       
    47             TBool& aIsDeleted );
       
    48             
       
    49         virtual ~CCTNoTrustQuery();
       
    50 
       
    51     private:    // from CEikDialog
       
    52         TBool OkToExitL( TInt aButtonId );
       
    53         void PostLayoutDynInitL();
       
    54 
       
    55     private: // New functions
       
    56         TBool OptionsMenuL();
       
    57 
       
    58     private:    // data
       
    59         CCTSecurityDialogsAO& iNotifier;
       
    60         TBool& iRetVal; 		//Dialog response
       
    61         TRequestStatus* iClientStatus;
       
    62         HBufC* iServerName;
       
    63         TBool iShowPermAccept;
       
    64         TBool& iDeleted;
       
    65     };
       
    66 
       
    67 #endif  // CTNOTRUSTQUERY_H
       
    68