ncdengine/provider/protocol/inc/ncd_pp_rightsimpl.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     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:   CNcdPreminetProtocolRightsImpl declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef NCD_PREMINET_PROTOCOL_RIGHTS_IMPL_H
       
    20 #define NCD_PREMINET_PROTOCOL_RIGHTS_IMPL_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include "ncd_pp_rights.h"
       
    24 #include "ncdprotocoltypes.h"
       
    25 
       
    26 
       
    27 class CNcdPreminetProtocolRightsImpl
       
    28 : public CBase, public MNcdPreminetProtocolRights
       
    29     {
       
    30 public:
       
    31     static CNcdPreminetProtocolRightsImpl* NewL();
       
    32     static CNcdPreminetProtocolRightsImpl* NewLC();
       
    33     void ConstructL();
       
    34     
       
    35     virtual ~CNcdPreminetProtocolRightsImpl();
       
    36     virtual const TDesC& ActivationKey() const;
       
    37     virtual const TDesC& IssuerUri() const;
       
    38     virtual const TDesC& Uri() const;
       
    39     virtual const TDesC& Type() const;
       
    40     virtual const TDesC& Name() const;
       
    41     
       
    42     virtual const TDesC& RightsObjectDataBlock() const;
       
    43     virtual const TDesC& RightsObjectMime() const;
       
    44     virtual const TDesC8& RightsObjectData() const;
       
    45     
       
    46 
       
    47 private:
       
    48     CNcdPreminetProtocolRightsImpl();
       
    49     
       
    50 public:
       
    51     HBufC* iActivationKey;
       
    52     HBufC* iIssuerUri;
       
    53     HBufC* iUri;
       
    54     HBufC* iType;
       
    55     HBufC* iName;    
       
    56 
       
    57     HBufC* iRightsObjectDataBlock;    
       
    58     HBufC* iRightsObjectMime;    
       
    59     HBufC8* iRightsObjectData;    
       
    60     };
       
    61     
       
    62 
       
    63 #endif //NCD_PREMINET_PROTOCOL_RIGHTS_IMPL_H