ui/uiengine/drmutilitywrapper/inc/glxdrmutilitywrapper.h
changeset 49 f291796e213d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/uiengine/drmutilitywrapper/inc/glxdrmutilitywrapper.h	Tue Jul 06 14:16:16 2010 +0300
@@ -0,0 +1,53 @@
+/*
+* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:   
+*
+*/
+
+#ifndef GLXDRMUTILITYWRAPPER_H
+#define GLXDRMUTILITYWRAPPER_H
+
+#include<QObject>
+// forward decleration
+class GlxDRMUtilityWrapperPrivate;
+
+#ifdef BUILD_DRMUTILITYWRAPPER
+#define GLX_DRMUTILITYWRAPPER_EXPORT Q_DECL_EXPORT
+#else
+#define GLX_DRMUTILITYWRAPPER_EXPORT Q_DECL_IMPORT
+#endif
+
+class GLX_DRMUTILITYWRAPPER_EXPORT GlxDRMUtilityWrapper
+{
+public:
+    /*
+     * Constructor
+     */
+    GlxDRMUtilityWrapper();
+    
+    /*
+     * Destructor
+     */
+    ~GlxDRMUtilityWrapper();
+    
+    bool ItemRightsValidityCheck(QString aUri, bool aCheckViewRights);
+    bool ConsumeRights(QString aUri);
+    void ShowRightsInfo(QString aUri);
+
+private:
+    GlxDRMUtilityWrapperPrivate* mDRMUtilityWrapperPrivate;
+};
+    
+#endif //GLXDRMUTILITYWRAPPER_H 
+// End of file