photosgallery/viewframework/texturemanager/inc/mglxtextureobserver.h
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2008-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:    Texture Manager component
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef M_GLXTEXTUREOBSERVER_H
       
    22 #define M_GLXTEXTUREOBSERVER_H
       
    23 
       
    24 #include <e32std.h>
       
    25 #include <alf/alftexturemanager.h>
       
    26 /**
       
    27  * Observer interface used to be notified when texture content changes.
       
    28  *
       
    29  * @author Dan Rhodes
       
    30  */
       
    31 NONSHARABLE_CLASS( MGlxTextureObserver )
       
    32     {
       
    33 public:
       
    34     /**
       
    35     * Called when the content of the texture is changed.
       
    36     * @param aHasContent Whether the texture now has content.
       
    37     */
       
    38     virtual void TextureContentChangedL( TBool aHasContent , CAlfTexture* aNewTexture) = 0;
       
    39     };
       
    40 
       
    41 #endif  // M_GLXTEXTUREOBSERVER_H