equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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: Platform dependent implementations. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef PLATFORMIMPL_H |
|
20 #define PLATFORMIMPL_H |
|
21 |
|
22 #include <string> |
|
23 |
|
24 /** |
|
25 * Will decrement applicable stateful rights such as play counts where |
|
26 * necessary. |
|
27 * @param uri Uri for the file. |
|
28 * @param drmContentId A unique DRM content id. |
|
29 * @param status Status string of the operation. Will be empty on success |
|
30 * cases, but will contain some understandable error text |
|
31 * in failure cases. |
|
32 * @param startPhase true if starting MIDlet, false if closing. |
|
33 * @param handle A handle to platform dependent object. |
|
34 */ |
|
35 void consumeRigthsImpl(const std::wstring& uri, |
|
36 const std::wstring& drmContentId, |
|
37 std::string& status, |
|
38 bool startPhase, |
|
39 int& handle); |
|
40 |
|
41 |
|
42 #endif // PLATFORMIMPL_H |