voiceui/pbkinfoviewimpl/inc/pbkinfoviewreshandler.h
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     1 /*
       
     2 * Copyright (c) 2005 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 is used for reading pbkinfoview resources.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef PBKINFOVIEWRESHANDLER_H
       
    20 #define PBKINFOVIEWRESHANDLER_H
       
    21 
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32base.h>
       
    25 #include <eikenv.h>
       
    26 #include <aknenv.h>
       
    27 
       
    28 #include "pbkinfoviewdefines.h"
       
    29 
       
    30 // FORWARD DECLARATIONS
       
    31 class RResourceFile;
       
    32 
       
    33 // CLASS DECLARATION
       
    34 /**
       
    35 * CPbkInfoViewResHandler
       
    36 *
       
    37 * This class is used for reading pbkinfoview resources.
       
    38 */
       
    39 NONSHARABLE_CLASS (CPbkInfoViewResHandler) : public CBase
       
    40     {
       
    41     public:
       
    42     
       
    43         /**
       
    44         * Two-phased constructor.
       
    45         */
       
    46         static CPbkInfoViewResHandler* NewL();
       
    47 
       
    48 	    /**
       
    49         * Destructor.
       
    50         */
       
    51         ~CPbkInfoViewResHandler();
       
    52         
       
    53         /**
       
    54         * Finds out phonebook bitmap file name.
       
    55         * @param aText File name will be put here.
       
    56 		* @return None.
       
    57         */
       
    58         static void GetBitmapFileName( TDes& aText );
       
    59 
       
    60     private:
       
    61         /**
       
    62         * C++ default constructor.
       
    63         */
       
    64 	    CPbkInfoViewResHandler();
       
    65 
       
    66         /**
       
    67         * By default Symbian 2nd phase constructor is private.
       
    68         */
       
    69 	    void ConstructL();
       
    70     
       
    71     	/**
       
    72         * Finds out the pbkinfoview resource file name.
       
    73         * @param aText File name will be put here.
       
    74 		* @return None.
       
    75         */
       
    76         static void GetResFileName( TDes& aText );
       
    77         
       
    78     private:
       
    79 		//  sync app resource file id
       
    80 	    TInt iResId;
       
    81     };
       
    82 
       
    83 
       
    84 
       
    85 #endif  // PBKINFOVIEWRESHANDLER_H
       
    86 
       
    87 // End of File
       
    88