srsf/ttscontrollerplugin/src/ttspluginresourcehandler.h
branchRCL_3
changeset 18 cad71a31b7fc
parent 17 8ce15fced3a6
child 19 e36f3802f733
equal deleted inserted replaced
17:8ce15fced3a6 18:cad71a31b7fc
     1 /*
       
     2 * Copyright (c) 2004-2006 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.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CTTSPLUGINRESOURCEHANDLER_H
       
    21 #define CTTSPLUGINRESOURCEHANDLER_H
       
    22 
       
    23 // CLASS DECLARATION
       
    24 
       
    25 /**
       
    26 *  This class encapsulates resource file handling functions
       
    27 *
       
    28 *  @lib TtsPlugin.lib
       
    29 *  @since 2.8
       
    30 */
       
    31 class CTtsPluginResourceHandler : public CBase
       
    32 	{
       
    33     public: // Constructors and destructor
       
    34 
       
    35         /**
       
    36         * Two-phased constructor.
       
    37         */
       
    38         static CTtsPluginResourceHandler* NewL( RFs& aFs );
       
    39 
       
    40         /**
       
    41         * Destructor.
       
    42         */
       
    43         virtual ~CTtsPluginResourceHandler();
       
    44 
       
    45     private:
       
    46 
       
    47         /**
       
    48         * C++ default constructor.
       
    49         */
       
    50         CTtsPluginResourceHandler();
       
    51 
       
    52         /**
       
    53         * By default Symbian 2nd phase constructor is private.
       
    54         */
       
    55         void ConstructL( RFs& aFs );
       
    56 
       
    57         /**
       
    58         * Reads the data from the resource file.
       
    59         */
       
    60 		void ReadResourceFileL( RFs& aFs );
       
    61 
       
    62 	public: // Data
       
    63 
       
    64         // General TTP filename
       
    65         HBufC* iTtpGeneralFilename;
       
    66 
       
    67         // Language TTP filename
       
    68         HBufC* iTtpLanguangeFilename;
       
    69 
       
    70         // Postfix of TTP files
       
    71         HBufC* iTtpFilenamePostfix;
       
    72 
       
    73         // Name of TTS files
       
    74         HBufC* iTtsFilename;
       
    75 
       
    76         // Postfix of TTS files
       
    77         HBufC* iTtsFilenamePostfix;
       
    78 	};
       
    79 
       
    80 #endif // CTTSPLUGINRESOURCEHANDLER_H
       
    81 
       
    82 // End of File