equal
deleted
inserted
replaced
|
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // TMsvPackedNotifierRequest.h |
|
15 // |
|
16 /** |
|
17 * @file |
|
18 * @publishedPartner |
|
19 * @released |
|
20 */ |
|
21 |
|
22 #ifndef __TMSVPACKEDNOTIFIERREQUEST_H__ |
|
23 #define __TMSVPACKEDNOTIFIERREQUEST_H__ |
|
24 |
|
25 #include <msvipc.h> |
|
26 |
|
27 /** |
|
28 DRM Mime type |
|
29 |
|
30 @publishedPartner |
|
31 @released |
|
32 */ |
|
33 _LIT8(KEpocMimeTypeDrm,"X-Epoc/DRM.Receipt"); |
|
34 |
|
35 /** |
|
36 Packs a selection and security info object into the IPC buffer. |
|
37 |
|
38 @publishedPartner |
|
39 @released |
|
40 */ |
|
41 class TMsvPackedNotifierRequest |
|
42 |
|
43 { |
|
44 public: |
|
45 IMPORT_C TMsvPackedNotifierRequest(HBufC8*& aBuffer); |
|
46 IMPORT_C TInt Pack(const CMsvEntrySelection& aSelection, const TSecurityInfo& aSecurityInfo); |
|
47 IMPORT_C static void UnpackL(const TDesC8& aBuffer, CMsvEntrySelection& aSelection, TSecurityInfo& aSecurityInfo); |
|
48 private: |
|
49 HBufC8*& iBuffer; |
|
50 }; |
|
51 |
|
52 #endif // __TMSVPACKEDNOTIFIERREQUEST_H__ |