phoneapp/phoneuiutils/inc/mphoneresourceresolver.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     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: 
       
    15 *    An abstract base class for resource resolvers.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef MPHONERESOURCERESOLVER_H
       
    21 #define MPHONERESOURCERESOLVER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30 *  An abstract base class for resource resolvers.
       
    31 */
       
    32 class MPhoneResourceResolver
       
    33     {
       
    34     public:
       
    35     
       
    36         /**
       
    37         * Destructor
       
    38         */
       
    39         virtual ~MPhoneResourceResolver() {};
       
    40 
       
    41         /**
       
    42         * Resolve resource id of given resource.
       
    43         * @param aResource: ID of needed resource ( from enumeration ).
       
    44         * @return Resource id.
       
    45         */
       
    46         virtual TInt ResolveResourceID( const TInt& aResource ) const = 0;
       
    47 
       
    48         
       
    49     };
       
    50 #endif      // MPHONERESOURCERESOLVER_H
       
    51             
       
    52 // End of File