equal
deleted
inserted
replaced
84 |
84 |
85 @internalComponent |
85 @internalComponent |
86 @released |
86 @released |
87 */ |
87 */ |
88 static CAttribute* NewLC(TUid aAgentUid, const TDesC& aURI, TContentShareMode aShareMode=EContentShareReadOnly); |
88 static CAttribute* NewLC(TUid aAgentUid, const TDesC& aURI, TContentShareMode aShareMode=EContentShareReadOnly); |
|
89 |
|
90 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
91 /** |
|
92 Constructs a new attribute given an agent and WMDRM header data. |
|
93 |
|
94 @param aAgentUid The agent Uid |
|
95 @param aHeaderData Header data of WMDRM content |
|
96 @return The new CAttribute. |
|
97 |
|
98 @internalComponent |
|
99 @released |
|
100 */ |
|
101 static CAttribute* NewLC(TUid aAgentUid, const TDesC8& aHeaderData); |
|
102 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
89 |
103 |
90 virtual ~CAttribute(); |
104 virtual ~CAttribute(); |
91 |
105 |
92 /** |
106 /** |
93 * Returns a reference to the query set |
107 * Returns a reference to the query set |
131 |
145 |
132 private: |
146 private: |
133 void ConstructL(TUid aAgentUid, RFile& aFile); |
147 void ConstructL(TUid aAgentUid, RFile& aFile); |
134 void ConstructL(TUid aAgentUid, const TDesC& aURI, TContentShareMode aShareMode=EContentShareReadOnly); |
148 void ConstructL(TUid aAgentUid, const TDesC& aURI, TContentShareMode aShareMode=EContentShareReadOnly); |
135 |
149 |
|
150 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
151 void ConstructL(TUid aAgentUid, const TDesC8& aHeaderData); |
|
152 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
153 |
136 CAttribute(); |
154 CAttribute(); |
137 |
155 |
138 private: |
156 private: |
139 /** The real object used to retrieve attributes. */ |
157 /** The real object used to retrieve attributes. */ |
140 CAgentContent* iAgentContent; |
158 CAgentContent* iAgentContent; |