javauis/lcdui_akn/javalcdui/inc/MMIDCanvasExtended.h
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2003 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:  Interface for observing Canvas visibility changes.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MMIDCANVASEXTENDED_H
       
    20 #define MMIDCANVASEXTENDED_H
       
    21 
       
    22 #include <lcdui.h>
       
    23 
       
    24 //  CLASS DEFINITION
       
    25 /*
       
    26 -----------------------------------------------------------------------------
       
    27 
       
    28     DESCRIPTION
       
    29 
       
    30     Interface for observing canvas' visibility changes
       
    31 
       
    32 -----------------------------------------------------------------------------
       
    33 */
       
    34 
       
    35 class MMIDCanvasExtended : public MMIDCanvas
       
    36 {
       
    37 public:
       
    38     /**
       
    39      * Adds new observer. Observer will be informed when display gains or loses focus.
       
    40      * @param aDirectScreenAccess Interface which will be informed of visibility changes.
       
    41      */
       
    42     virtual void AddCanvasVisibilityObserver(MDirectScreenAccess* aDirectScreenAccess) = 0;
       
    43 
       
    44     /**
       
    45      * Removes observer.
       
    46      * @param aDirectScreenAccess Observer which will be removed.
       
    47      */
       
    48     virtual void RemoveCanvasVisibilityObserver(MDirectScreenAccess* aDirectScreenAccess) = 0;
       
    49 };
       
    50 
       
    51 #endif // MMIDCANVASEXTENDED_H