camerauis/cameraapp/generic/inc/CamResourceLoader.h
changeset 0 1ddebce53859
equal deleted inserted replaced
-1:000000000000 0:1ddebce53859
       
     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:  Defines abstract interface for classes that load resource data*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 #ifndef CAMRESOURCELOADER_H
       
    20 #define CAMRESOURCELOADER_H
       
    21 
       
    22 //  INCLUDES
       
    23 
       
    24 // CONSTANTS
       
    25 
       
    26 // MACROS
       
    27 
       
    28 // DATA TYPES
       
    29 
       
    30 // FUNCTION PROTOTYPES
       
    31 
       
    32 // FORWARD DECLARATIONS
       
    33 
       
    34 // CLASS DECLARATION
       
    35 
       
    36 /**
       
    37 * Abstract API for MCamResourceLoader
       
    38 *
       
    39 *  @since 3.0
       
    40 */
       
    41 class MCamResourceLoader
       
    42     {
       
    43     public:
       
    44     
       
    45         /**
       
    46         * Read in all resource-based data that the class needs
       
    47         * @since 3.0
       
    48         */
       
    49         virtual void LoadResourceDataL() = 0;
       
    50         
       
    51         /**
       
    52         * Free all resources created by LoadResourceData() 
       
    53         * @since 3.0
       
    54         */
       
    55         virtual void UnloadResourceData() = 0;
       
    56         
       
    57         /**
       
    58         * Forces class to reread all resource information
       
    59         * Should be equivalent of {UnloadResourceData(); LoadResourceData()}
       
    60         * @since 3.0
       
    61         */
       
    62         virtual void ReloadResourceDataL() = 0;
       
    63     };
       
    64 
       
    65 #endif      // CAMRESOURCELOADER_H
       
    66             
       
    67 // End of File