diff options
author | Vsevolod Buzinov <ext-vsevolod.buzinov@nokia.com> | 2010-08-31 17:33:38 +0300 |
---|---|---|
committer | Vsevolod Buzinov <ext-vsevolod.buzinov@nokia.com> | 2010-08-31 17:33:38 +0300 |
commit | a7761546eddf14689984ad95f5f6c3aeb4024362 (patch) | |
tree | 45dc6ab1318d448db1fb5d682c3d96cd9fa3f276 /libresourceqt/include/qt4/policy | |
parent | e259ac49bc79329e2b6736eab08f666e3ab87615 (diff) |
Added security-related changes such as error signal in resource engine
Diffstat (limited to 'libresourceqt/include/qt4/policy')
-rw-r--r-- | libresourceqt/include/qt4/policy/resource-set.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/libresourceqt/include/qt4/policy/resource-set.h b/libresourceqt/include/qt4/policy/resource-set.h index b3da922..4943c35 100644 --- a/libresourceqt/include/qt4/policy/resource-set.h +++ b/libresourceqt/include/qt4/policy/resource-set.h @@ -205,28 +205,34 @@ signals: */ void resourcesBecameAvailable(const QList<ResourcePolicy::ResourceType> &availableResources); /** - * This signal is emited as a response to the acquire() request. + * This signal is emitted as a response to the acquire() request. * \param grantedOptionalResources The list of granted optional resources. - * All the mandatory resources have also been aquired. + * All the mandatory resources have also been acquired. */ void resourcesGranted(const QList<ResourcePolicy::ResourceType> &grantedOptionalResources); /** - * This signal is emited as a response to the acquire() request, in the - * case where one or more of the mandatroy resources were not availalble. + * This signal is emitted as a response to the acquire() request, in the + * case where one or more of the mandatory resources were not available. */ void resourcesDenied(); /** - * This signal is emited as a response to the release() request. + * This signal is emitted as a response to the release() request. */ void resourcesReleased(); /** - * This signal is emited when some other program with a higher priority - * superseeds us, and as a result we loose (some of) our resources. + * This signal is emitted when some other program with a higher priority + * supersedes us, and as a result we loose (some of) our resources. * It is very important to connect to this signal as it is signaling when * the acquired resources shouldn't be used anymore. */ void lostResources(); + /** + * Subscribe to this signal to receive error notifications, + * particularly security errors. + */ + void errorCallback(quint32, const char*); + private: bool initialize(); |