securitydialogs/lockapp/inc/lockapplockednote.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:  Sleeping note with timeout and a reference flag that informs
       
    15  *                the parent when the note is visible
       
    16  *
       
    17 */
       
    18 
       
    19 
       
    20 #include "lockappsleepingnote.h"
       
    21 
       
    22 #ifndef __LOCKAPPLOCKEDNOTE_H__
       
    23 #define __LOCKAPPLOCKEDNOTE_H__
       
    24 
       
    25 const TInt KNoteCmdFocusLost = 3100;
       
    26 
       
    27 /**
       
    28  *  CLockAppLockedNote class is used as the basic dismissable note in Lockapp.
       
    29  *
       
    30  *  @lib    lockapp
       
    31  *  @since  5.0
       
    32  *  @author Joona Petrell
       
    33  *  @author Tamas Koteles
       
    34  */
       
    35 class CLockAppLockedNote : public CLockAppSleepingNote
       
    36     {
       
    37     public:
       
    38 
       
    39         /**
       
    40          * C++ default constructor.
       
    41          *
       
    42          * @param aCommandObserver pointer to parent implementing observer interface
       
    43          */
       
    44         CLockAppLockedNote( MEikCommandObserver* aCommandObserver = NULL );
       
    45 
       
    46         /**
       
    47          * Destructor.
       
    48          */
       
    49         ~CLockAppLockedNote( );
       
    50 
       
    51         /**
       
    52          * Locked note can be canceled.
       
    53          */
       
    54         void CancelNote( );
       
    55 
       
    56         /**
       
    57          * From @c CCoeControl. Used to inform parent that
       
    58          * dialog is no longer in focus.
       
    59          */
       
    60         void FocusChanged( TDrawNow aDrawNow );
       
    61 
       
    62     };
       
    63 
       
    64 #endif // __LOCKAPPLOCKEDNOTE_H__