15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 // INCLUDE FILES |
19 // INCLUDE FILES |
20 #include "drmrightsinfodata.h" |
20 #include "DrmRightsInfoData.h" |
21 |
21 |
22 // ============================= LOCAL FUNCTIONS =============================== |
22 // ============================= LOCAL FUNCTIONS =============================== |
23 |
23 |
24 // ============================ MEMBER FUNCTIONS =============================== |
24 // ============================ MEMBER FUNCTIONS =============================== |
25 |
25 |
26 // ----------------------------------------------------------------------------- |
26 // ----------------------------------------------------------------------------- |
27 // CDrmRightsInfoData::NewLC |
27 // CDrmRightsInfoData::NewLC |
28 // Two-Phase constructor |
28 // Two-Phase constructor |
29 // ----------------------------------------------------------------------------- |
29 // ----------------------------------------------------------------------------- |
30 // |
30 // |
31 DRM::CDrmRightsInfoData* DRM::CDrmRightsInfoData::NewL() |
31 DRM::CDrmRightsInfoData* DRM::CDrmRightsInfoData::NewL() |
32 { |
32 { |
33 DRM::CDrmRightsInfoData* self( NewLC() ); |
33 DRM::CDrmRightsInfoData* self( NewLC() ); |
34 CleanupStack::Pop( self ); |
34 CleanupStack::Pop( self ); |
35 return self; |
35 return self; |
38 |
38 |
39 // ----------------------------------------------------------------------------- |
39 // ----------------------------------------------------------------------------- |
40 // CDrmRightsInfoData::NewLC |
40 // CDrmRightsInfoData::NewLC |
41 // Two-Phase constructor |
41 // Two-Phase constructor |
42 // ----------------------------------------------------------------------------- |
42 // ----------------------------------------------------------------------------- |
43 // |
43 // |
44 DRM::CDrmRightsInfoData* DRM::CDrmRightsInfoData::NewLC() |
44 DRM::CDrmRightsInfoData* DRM::CDrmRightsInfoData::NewLC() |
45 { |
45 { |
46 DRM::CDrmRightsInfoData* self( new (ELeave) CDrmRightsInfoData ); |
46 DRM::CDrmRightsInfoData* self( new (ELeave) CDrmRightsInfoData ); |
47 CleanupStack::PushL( self ); |
47 CleanupStack::PushL( self ); |
48 self->ConstructL(); |
48 self->ConstructL(); |
49 return self; |
49 return self; |
50 } |
50 } |
51 |
51 |
52 // ----------------------------------------------------------------------------- |
52 // ----------------------------------------------------------------------------- |
53 // Constructor |
53 // Constructor |
54 // ----------------------------------------------------------------------------- |
54 // ----------------------------------------------------------------------------- |
55 // |
55 // |
56 DRM::CDrmRightsInfoData::CDrmRightsInfoData() |
56 DRM::CDrmRightsInfoData::CDrmRightsInfoData() |
57 { |
57 { |
58 } |
58 } |
59 |
59 |
60 // ----------------------------------------------------------------------------- |
60 // ----------------------------------------------------------------------------- |
61 // Destructor |
61 // Destructor |
62 // ----------------------------------------------------------------------------- |
62 // ----------------------------------------------------------------------------- |
63 // |
63 // |
64 DRM::CDrmRightsInfoData::~CDrmRightsInfoData() |
64 DRM::CDrmRightsInfoData::~CDrmRightsInfoData() |
65 { |
65 { |
66 delete iUniqueId; |
66 delete iUniqueId; |
67 delete iUniqueId8; |
67 delete iUniqueId8; |
68 } |
68 } |
69 |
69 |
70 // ----------------------------------------------------------------------------- |
70 // ----------------------------------------------------------------------------- |
71 // CDrmRightsInfoData::ConstructL |
71 // CDrmRightsInfoData::ConstructL |
72 // Second phase constructor |
72 // Second phase constructor |
73 // ----------------------------------------------------------------------------- |
73 // ----------------------------------------------------------------------------- |
74 // |
74 // |
75 void DRM::CDrmRightsInfoData::ConstructL() |
75 void DRM::CDrmRightsInfoData::ConstructL() |
76 { |
76 { |
77 } |
77 } |
78 |
78 |
79 |
79 |
80 // End of File |
80 // End of File |