equal
deleted
inserted
replaced
102 XQSERVICE_DEBUG_PRINT("Apply service driver"); |
102 XQSERVICE_DEBUG_PRINT("Apply service driver"); |
103 currentRequest = new XQAiwServiceDriver(descriptor, operation); |
103 currentRequest = new XQAiwServiceDriver(descriptor, operation); |
104 } |
104 } |
105 else |
105 else |
106 { |
106 { |
107 // This means descriptor is incompete and created for carrying implementation information only. |
107 // The is no service provider for the file. |
108 // See XQApplicationManagerPrivate::getAppDescriptor or XQApplicationManagerPrivate::listMimeHandlers |
108 // So as backup plan, apply file driver to handle non-service file launches |
109 XQSERVICE_DEBUG_PRINT("Apply file driver"); |
109 XQSERVICE_DEBUG_PRINT("Apply file driver"); |
110 currentRequest = new XQAiwFileDriver(file, descriptor, operation); |
110 currentRequest = new XQAiwFileDriver(file, descriptor, operation); |
111 } |
111 } |
112 |
112 |
113 } |
113 } |
131 { |
131 { |
132 // Apply normal service request |
132 // Apply normal service request |
133 XQSERVICE_DEBUG_PRINT("Apply service driver"); |
133 XQSERVICE_DEBUG_PRINT("Apply service driver"); |
134 currentRequest = new XQAiwServiceDriver(descriptor, operation); |
134 currentRequest = new XQAiwServiceDriver(descriptor, operation); |
135 } |
135 } |
136 |
136 else |
137 // No other way to pass sharable file as via service request |
137 { |
|
138 // The is no service provider for the file. |
|
139 // So as backup plan, apply file driver to handle non-service file launches |
|
140 XQSERVICE_DEBUG_PRINT("Apply file driver"); |
|
141 currentRequest = new XQAiwFileDriver(file, descriptor, operation); |
|
142 } |
138 |
143 |
139 } |
144 } |
140 |
145 |
141 |
146 |
142 XQAiwRequest::~XQAiwRequest() |
147 XQAiwRequest::~XQAiwRequest() |