phoneclientserver/phoneclient/Inc/RPhCltResourceFile.h
changeset 46 2fa1fa551b0b
parent 42 35488577e233
child 48 78df25012fda
equal deleted inserted replaced
42:35488577e233 46:2fa1fa551b0b
     1 /*
       
     2 * Copyright (c) 2002 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:  It is phoneclient resource file loader.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef RPHCLTRESOURCEFILE_H
       
    20 #define RPHCLTRESOURCEFILE_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include    <e32base.h>
       
    24 
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CCoeEnv;
       
    28 class RConeResourceLoader;
       
    29 
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 *  It is PhoneClient resource file loader.
       
    35 *
       
    36 *  @lib phoneclient.lib
       
    37 *  @since 1.0
       
    38 */
       
    39 class RPhCltResourceFile
       
    40     {
       
    41     public:  // Constructors and destructor
       
    42         
       
    43         /**
       
    44         * C++ constructor.
       
    45         */
       
    46         IMPORT_C RPhCltResourceFile();
       
    47               
       
    48 
       
    49     public: // New functions
       
    50 
       
    51         /**
       
    52         * Opens resource file.
       
    53         *
       
    54         * Note: Panics if you try to reopen.
       
    55         *
       
    56         * @param aEnv Coe env.
       
    57         */
       
    58         IMPORT_C void OpenL( CCoeEnv& aEnv );
       
    59 
       
    60         /**
       
    61         * Closes resource file.
       
    62         */
       
    63         IMPORT_C void Close();
       
    64 
       
    65 
       
    66     public: // Functions from base classes
       
    67         
       
    68         // Prohibit copy constructor if not deriving from CBase.
       
    69         RPhCltResourceFile( const RPhCltResourceFile& );
       
    70         // Prohibit assigment operator if not deriving from CBase.
       
    71         RPhCltResourceFile& operator= ( const RPhCltResourceFile& );
       
    72 
       
    73 
       
    74     private:    // Data
       
    75         
       
    76         // Resource file loader.
       
    77         RConeResourceLoader* iLoader;
       
    78 
       
    79     };
       
    80 
       
    81 #endif      // RPHCLTRESOURCEFILE_H
       
    82             
       
    83 // End of File