ipsservices/ipssossettings/inc/ipssetuiitemextlink.h
changeset 0 8466d47a6819
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Decleares class with user data and container for setting
       
    15 *                items.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef IPSSETUIITEMEXTLINK_H
       
    21 #define IPSSETUIITEMEXTLINK_H
       
    22 
       
    23 
       
    24 #include "ipssetuiitemlink.h"
       
    25 
       
    26 /**
       
    27  *  Container class for user data and branched items.
       
    28  *
       
    29  *  @lib IpsSosSettings.lib
       
    30  *  @since FS v1.0
       
    31  */
       
    32 class CIpsSetUiItemLinkExt : public CIpsSetUiItemLink
       
    33     {
       
    34 public:
       
    35 
       
    36 // Constructors and Destructor
       
    37 
       
    38     /**
       
    39      * Destructor
       
    40      */
       
    41     virtual ~CIpsSetUiItemLinkExt();
       
    42 
       
    43     /**
       
    44      * @return New link item.
       
    45      */
       
    46     static CIpsSetUiItemLinkExt* NewL();
       
    47 
       
    48     /**
       
    49      * @return New link item.
       
    50      */
       
    51     static CIpsSetUiItemLinkExt* NewLC();
       
    52 
       
    53 // Operators
       
    54 
       
    55     /**
       
    56      * Copy operator
       
    57      *
       
    58      * @param aBaseItem Item, which values are copied.
       
    59      */
       
    60     CIpsSetUiItemLinkExt& operator=(
       
    61         const CIpsSetUiItemLinkExt& aBaseItem );
       
    62 
       
    63 // New Functions
       
    64 
       
    65     /**
       
    66      * @return User data.
       
    67      */
       
    68     virtual inline TInt64 Value() const;
       
    69 
       
    70     /**
       
    71      * @param aValue Sets user data.
       
    72      */
       
    73     virtual inline void SetValue( const TInt64 aValue );
       
    74 
       
    75 protected:
       
    76 
       
    77 // Constructors
       
    78 
       
    79     /**
       
    80      * Constructor
       
    81      */
       
    82     CIpsSetUiItemLinkExt();
       
    83 
       
    84     /**
       
    85      * 2nd-phase constructor
       
    86      */
       
    87     void ConstructL();
       
    88 
       
    89 // Data
       
    90 
       
    91     /**
       
    92      * Container for user data.
       
    93      */
       
    94     TInt64                  iUserValue;
       
    95     };
       
    96 
       
    97 #include "ipssetuiitemextlink.inl"
       
    98 
       
    99 #endif //IPSSETUIITEMEXTLINK_H
       
   100 
       
   101 // End of file