uiaccelerator_plat/alf_visual_api/inc/alf/alfenvobject.h
changeset 0 15bf7259bb7c
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     1 /*
       
     2 * Copyright (c) 2008 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:   An type for holding virtually releasable objects
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef ALFENVOBJECT_H
       
    21 #define ALFENVOBJECT_H
       
    22 
       
    23 /**
       
    24  * Base class for objects that required virtual release of heap objects
       
    25  *  
       
    26  *  @lib alfclient.lib
       
    27  *  @since S60 v5.0.1
       
    28  */
       
    29 class MAlfEnvObject
       
    30     {
       
    31 public:
       
    32     /**
       
    33      * Method to release the owned object. 
       
    34      * This method should be implemented in the derived classes to delete
       
    35      * the heap object.
       
    36      */
       
    37     virtual void Release() = 0;
       
    38     };
       
    39 
       
    40 #endif // ALFENVOBJECT_H