classicui_plat/ganes_api/inc/ganes/HgBufferOwnerIface.h
changeset 47 2f0c06423c72
parent 46 0e1e0022bd03
child 53 3c67ea82fafc
equal deleted inserted replaced
46:0e1e0022bd03 47:2f0c06423c72
     1 /*
       
     2 * Copyright (c) 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 #ifndef HGBUFFEROWNERIFACE_H_
       
    20 #define HGBUFFEROWNERIFACE_H_
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 /**
       
    25  * Buffer observer interface. 
       
    26  */
       
    27 class MHgBufferOwner
       
    28     {
       
    29 public:
       
    30     /**
       
    31      * Buffer position changed. 
       
    32      * The items between the aReleaseStart and aReleaseEnd should be released as soon as possible.
       
    33      * 
       
    34      * @param aReleaseStart The index of the first item in buffer.
       
    35      * @param aReleaseEnd The index of the last item in buffer.
       
    36      */
       
    37     virtual void Release(TInt aReleaseStart, TInt aReleaseEnd) = 0 ;
       
    38     };
       
    39 
       
    40 #endif /*HGBUFFEROWNERIFACE_H_*/