qthighway/xqservice/src/xqaiwutils.h
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 14 6fbed849b4f4
--- a/qthighway/xqservice/src/xqaiwutils.h	Fri Apr 16 15:51:22 2010 +0300
+++ b/qthighway/xqservice/src/xqaiwutils.h	Mon May 03 13:18:40 2010 +0300
@@ -28,6 +28,8 @@
 #include <QObject>
 #include <QFile>
 #include <QUrl>
+#include <QVariant>
+#include <QList>
 #include <qglobal.h>
 #include <xqsharablefile.h>
 
@@ -45,7 +47,11 @@
     int findApplication(const QUrl &uri, int &applicationId);
     QString createCmdlineArgs(const QList<QVariant> &args);
     static QString createErrorMessage(int errorCode, const QString context, const QString detail = "");
-
+    
+    bool getDrmAttributes(const QString &file, const QList<int> &attributes, QVariantList & result);
+    bool getDrmAttributes(const XQSharableFile &file, const QList<int> & attributes, QVariantList & result);
+    int toIntFromHex(const QString &str, bool *ok);
+    
 private:
 
 private: