equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008-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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef GLXDRMUTILITYWRAPPER_H |
|
19 #define GLXDRMUTILITYWRAPPER_H |
|
20 |
|
21 #include<QObject> |
|
22 // forward decleration |
|
23 class GlxDRMUtilityWrapperPrivate; |
|
24 |
|
25 #ifdef BUILD_DRMUTILITYWRAPPER |
|
26 #define GLX_DRMUTILITYWRAPPER_EXPORT Q_DECL_EXPORT |
|
27 #else |
|
28 #define GLX_DRMUTILITYWRAPPER_EXPORT Q_DECL_IMPORT |
|
29 #endif |
|
30 |
|
31 class GLX_DRMUTILITYWRAPPER_EXPORT GlxDRMUtilityWrapper |
|
32 { |
|
33 public: |
|
34 /* |
|
35 * Constructor |
|
36 */ |
|
37 GlxDRMUtilityWrapper(); |
|
38 |
|
39 /* |
|
40 * Destructor |
|
41 */ |
|
42 ~GlxDRMUtilityWrapper(); |
|
43 |
|
44 bool ItemRightsValidityCheck(QString aUri, bool aCheckViewRights); |
|
45 bool ConsumeRights(QString aUri); |
|
46 void ShowRightsInfo(QString aUri); |
|
47 |
|
48 private: |
|
49 GlxDRMUtilityWrapperPrivate* mDRMUtilityWrapperPrivate; |
|
50 }; |
|
51 |
|
52 #endif //GLXDRMUTILITYWRAPPER_H |
|
53 // End of file |