xdmprotocols/XcapProtocol/XcapCache/Server/inc/XcapCacheEntryProperty.h
changeset 0 c8caa15ef882
equal deleted inserted replaced
-1:000000000000 0:c8caa15ef882
       
     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:   CXcapCacheEntryProperty
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __XCAPCACHEINDEXPROPERTY_H__
       
    22 #define __XCAPCACHEINDEXPROPERTY_H__
       
    23 
       
    24 // INCLUDES
       
    25 #include <e32std.h>
       
    26 #include "CommonDefines.h"
       
    27 
       
    28 //FORWARD DECLARATIONs
       
    29 
       
    30 // CLASS DECLARATION
       
    31 NONSHARABLE_CLASS( CXcapCacheEntryProperty ) : public CBase                         
       
    32     {
       
    33     public:             // Constructors and destructor
       
    34         
       
    35         /**
       
    36         * Returns the MIME type of the messages
       
    37         * @return TPtrC8 The MIME type of the messages
       
    38         */
       
    39         static CXcapCacheEntryProperty* NewL( TInt aPropertyName,
       
    40                                               const TDesC8& aPropertyValue );
       
    41         
       
    42         /**
       
    43         * Returns the MIME type of the messages
       
    44         * @return TPtrC8 The MIME type of the messages
       
    45         */
       
    46         TInt IntValue() const;
       
    47         
       
    48         /**
       
    49         * Returns the MIME type of the messages
       
    50         * @return TPtrC8 The MIME type of the messages
       
    51         */
       
    52         TTime TimeValue() const;
       
    53         
       
    54         /**
       
    55         * Returns the MIME type of the messages
       
    56         * @return TPtrC8 The MIME type of the messages
       
    57         */
       
    58         TPtrC DesValue16() const;
       
    59         
       
    60         /**
       
    61         * Returns the MIME type of the messages
       
    62         * @return TPtrC8 The MIME type of the messages
       
    63         */
       
    64         TPtrC8 DesValue8() const;
       
    65 
       
    66         /**
       
    67         * Returns the MIME type of the messages
       
    68         * @return TPtrC8 The MIME type of the messages
       
    69         */
       
    70         TInt Name() const;
       
    71 
       
    72         /**
       
    73         * Returns the MIME type of the messages
       
    74         * @return TPtrC8 The MIME type of the messages
       
    75         */
       
    76         ~CXcapCacheEntryProperty();
       
    77 
       
    78     private:
       
    79         
       
    80         /**
       
    81         * Returns the MIME type of the messages
       
    82         * @return TPtrC8 The MIME type of the messages
       
    83         */
       
    84         void ConstructL( const TDesC8& aPropertyValue );
       
    85 
       
    86         /**
       
    87         * Returns the MIME type of the messages
       
    88         * @return TPtrC8 The MIME type of the messages
       
    89         */
       
    90         CXcapCacheEntryProperty( TInt aPropertyName );
       
    91 
       
    92     private:            // Data
       
    93         
       
    94         HBufC*                             	iPropertyValue16;
       
    95         HBufC8*                             iPropertyValue8;
       
    96         const TInt                          iPropertyName;
       
    97     };
       
    98 
       
    99 #endif
       
   100 
       
   101 // End of File