pkiutilities/DeviceToken/Inc/DevTokenDialog.h
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 2007 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:   The header file of DevTokenDialog
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __DEVTOKENDIALOG_H__
       
    21 #define __DEVTOKENDIALOG_H__
       
    22 
       
    23 
       
    24 class MSecurityDialog;
       
    25 
       
    26 /**
       
    27  *  Lauch the dialog for asking password from user
       
    28  *
       
    29  *  @lib 
       
    30  *  @since S60 v3.2
       
    31  */
       
    32 class DevTokenDialog
       
    33 	  {
       
    34     public:
       
    35 	      inline static MSecurityDialog* Dialog();
       
    36 	      static void InitialiseL();
       
    37 	      static void Cleanup();
       
    38 	      
       
    39     private:
       
    40 	      static MSecurityDialog* iDialog;
       
    41 	  };
       
    42 
       
    43 inline MSecurityDialog* DevTokenDialog::Dialog()
       
    44 	  {
       
    45 	  return iDialog;
       
    46 	  }
       
    47 
       
    48 #endif //__DEVTOKENDIALOG_H__
       
    49 //EOF