|
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: MNcdPreminetProtocolPurchaseOption declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef NCD_PREMINET_PROTOCOL_SUBSCRIPTIONDETAILS_H |
|
20 #define NCD_PREMINET_PROTOCOL_SUBSCRIPTIONDETAILS_H |
|
21 |
|
22 #include <e32base.h> |
|
23 #include "ncdprotocoltypes.h" |
|
24 |
|
25 class MNcdPreminetProtocolSubscriptionDetails |
|
26 { |
|
27 public: |
|
28 |
|
29 /** |
|
30 * Destructor |
|
31 */ |
|
32 virtual ~MNcdPreminetProtocolSubscriptionDetails() {} |
|
33 |
|
34 /** |
|
35 * Validity delta |
|
36 * @return Validity time |
|
37 */ |
|
38 virtual TInt ValidityDelta() const = 0; |
|
39 |
|
40 /** |
|
41 * Is the subscription auto-updateable |
|
42 * @return True or false |
|
43 */ |
|
44 virtual TBool ValidityAutoUpdate() const = 0; |
|
45 |
|
46 /** |
|
47 * Subscription credit value |
|
48 * @return Credit value |
|
49 */ |
|
50 virtual TReal32 AmountOfCredits() const = 0; |
|
51 |
|
52 /** |
|
53 * Subscription credit currency |
|
54 * @return Credit currency |
|
55 */ |
|
56 virtual const TDesC& AmountOfCreditsCurrency() const = 0; |
|
57 |
|
58 /** |
|
59 * Amount of downloads in this subscription |
|
60 * @return Amount of downloads |
|
61 */ |
|
62 virtual TInt NumberOfDownloads() const = 0; |
|
63 |
|
64 }; |
|
65 |
|
66 |
|
67 #endif //NCD_PREMINET_PROTOCOL_SUBSCRIPTIONDETAILS_H |