srsf/sisrscontrollerplugin/src/siresourcehandler.h
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     1 /*
       
     2 * Copyright (c) 2004 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:  This class reads the resource file and provides access to the
       
    15 *				 information read from the resource file to the controller.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef CSIRESOURCEHANDLER_H
       
    22 #define CSIRESOURCEHANDLER_H
       
    23 
       
    24 // CLASS DECLARATION
       
    25 /**
       
    26 *  This class implements resource file handling functions.
       
    27 *
       
    28 *  @lib SIControllerPlugin.lib
       
    29 *  @since 2.8
       
    30 */
       
    31 class CSIResourceHandler : public CBase
       
    32 	{
       
    33     public:  // Constructors and destructor
       
    34 
       
    35         /**
       
    36         * Two-phased constructor.
       
    37         */
       
    38         static CSIResourceHandler* NewL();
       
    39 
       
    40         /**
       
    41         * Destructor.
       
    42         */
       
    43         virtual ~CSIResourceHandler();
       
    44 
       
    45     private:
       
    46 
       
    47         /**
       
    48         * C++ default constructor.
       
    49         */
       
    50         CSIResourceHandler();
       
    51 
       
    52         /**
       
    53         * By default Symbian 2nd phase constructor is private.
       
    54         */
       
    55         void ConstructL();
       
    56 
       
    57         /**
       
    58         * Reads the data from the resource file.
       
    59         * @since 2.8
       
    60         * @param	-
       
    61         * @return	-
       
    62         */
       
    63 		void ReadResourceFileL();
       
    64 
       
    65 	public:    // Data
       
    66  
       
    67 		// Maximum number of models per bank
       
    68 		TInt iMaxModelsPerBank;
       
    69 
       
    70 		// Maximum number of models in system
       
    71 		TInt iMaxModelsSystem;
       
    72 
       
    73 		// Plugin database file name 
       
    74 		HBufC* iDbFileName;
       
    75 		// Language package data file name information
       
    76 
       
    77 		// Language package data file path and prefix
       
    78 		HBufC* iDataFilenamePrefix;	  
       
    79 
       
    80 		// Language package data file postfix
       
    81 		HBufC* iDataFilenamePostfix;	  
       
    82 
       
    83 		// Language package data file name seperator
       
    84 		HBufC* iDataFilenameSeperator; 
       
    85 	}; 
       
    86 #endif      // CSIRESOURCEHANDLER_H
       
    87 // End of File