mmuifw_plat/alf_widgetmodel_api/inc/alf/ialfmodelbase.h
changeset 17 3eca7e70b1b8
parent 3 4526337fb576
equal deleted inserted replaced
3:4526337fb576 17:3eca7e70b1b8
     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 interface defines a generic data type
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef I_ALFMODELBASE_H
       
    22 #define I_ALFMODELBASE_H
       
    23 
       
    24 namespace osncore
       
    25     {
       
    26 class UString;
       
    27     }
       
    28 
       
    29 using osncore::UString;
       
    30 
       
    31 namespace Alf
       
    32     {
       
    33 // CLASS DECLARATIONS
       
    34 
       
    35 /**
       
    36  * Base class for setting custom data to a variant type.
       
    37  * Derive from this class if you want to store custom data in
       
    38  * a variant type.
       
    39  * @lib alfwidgetmodel.lib
       
    40  * @since S60 ?S60_version
       
    41  * @status Draft
       
    42  */
       
    43 class IAlfModelBase
       
    44     {
       
    45 public:
       
    46     virtual ~IAlfModelBase() {}
       
    47     virtual const UString& Type() = 0;
       
    48     };
       
    49 
       
    50     }// namespace Alf
       
    51 
       
    52 #endif // I_ALFMODEL_H
       
    53 
       
    54 // End of File