ncdengine/provider/protocol/inc/ncd_pp_smsdetailsimpl.h
changeset 4 32704c33136d
equal deleted inserted replaced
-1:000000000000 4:32704c33136d
       
     1 /*
       
     2 * Copyright (c) 2006 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:   CNcdPreminetProtocolPaymentImpl declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef NCD_PREMINET_PROTOCOL_SMSDETAILS_IMPL_H
       
    20 #define NCD_PREMINET_PROTOCOL_SMSDETAILS_IMPL_H
       
    21 
       
    22 #include "ncd_pp_purchase.h"
       
    23 #include "ncdstoragedataitem.h"
       
    24 
       
    25 class CNcdPreminetProtocolSmsDetailsImpl :
       
    26     public CBase,
       
    27     public MNcdPreminetProtocolSmsDetails,
       
    28     public MNcdStorageDataItem
       
    29     {
       
    30     
       
    31 public:
       
    32 
       
    33     static CNcdPreminetProtocolSmsDetailsImpl* NewL();
       
    34     static CNcdPreminetProtocolSmsDetailsImpl* NewLC();
       
    35 
       
    36     virtual ~CNcdPreminetProtocolSmsDetailsImpl();
       
    37     
       
    38     void ConstructL();
       
    39 
       
    40 
       
    41     virtual const TDesC& Address() const;
       
    42     virtual const TDesC& Message() const;
       
    43     virtual CNcdPreminetProtocolSmsDetailsImpl* CloneL() const;
       
    44 
       
    45 public: // From MNcdStorageDataItem
       
    46 
       
    47     void ExternalizeL( RWriteStream& aStream );
       
    48     void InternalizeL( RReadStream& aStream );
       
    49 
       
    50 public:
       
    51 
       
    52     HBufC* iAddress;
       
    53     HBufC* iMessage;
       
    54     
       
    55     };
       
    56 
       
    57 #endif // NCD_PREMINET_PROTOCOL_SMSDETAIL_IMPL_H