qthighway/xqservice/src/xqaiwrequest.cpp
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
child 24 9d760f716ca8
--- a/qthighway/xqservice/src/xqaiwrequest.cpp	Fri Jun 11 14:26:25 2010 +0300
+++ b/qthighway/xqservice/src/xqaiwrequest.cpp	Wed Jun 23 19:08:38 2010 +0300
@@ -104,8 +104,8 @@
    }
    else 
    {
-       // This means descriptor is incompete and created for carrying implementation information only.
-       // See XQApplicationManagerPrivate::getAppDescriptor or XQApplicationManagerPrivate::listMimeHandlers
+       // The is no service provider for the file.
+       // So as backup plan, apply file driver to handle non-service file launches
        XQSERVICE_DEBUG_PRINT("Apply file driver");
        currentRequest = new XQAiwFileDriver(file, descriptor, operation);
    }
@@ -133,8 +133,13 @@
         XQSERVICE_DEBUG_PRINT("Apply service driver");
         currentRequest = new XQAiwServiceDriver(descriptor, operation);
     }
-
-    // No other way to pass sharable file as via service request
+    else 
+    {
+       // The is no service provider for the file.
+       // So as backup plan, apply file driver to handle non-service file launches
+        XQSERVICE_DEBUG_PRINT("Apply file driver");
+        currentRequest = new XQAiwFileDriver(file, descriptor, operation);
+    }
 
 }