diff options
Diffstat (limited to 'src/plugins/resourcepolicy/resourcepolicyimpl.h')
-rw-r--r-- | src/plugins/resourcepolicy/resourcepolicyimpl.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/plugins/resourcepolicy/resourcepolicyimpl.h b/src/plugins/resourcepolicy/resourcepolicyimpl.h index 8680df86a..28393b789 100644 --- a/src/plugins/resourcepolicy/resourcepolicyimpl.h +++ b/src/plugins/resourcepolicy/resourcepolicyimpl.h @@ -56,6 +56,7 @@ class ResourcePolicyImpl : public QMediaPlayerResourceSetInterface Q_OBJECT public: ResourcePolicyImpl(QObject *parent = 0); + ~ResourcePolicyImpl(); bool isVideoEnabled() const; void setVideoEnabled(bool videoEnabled); @@ -63,22 +64,6 @@ public: void release(); bool isGranted() const; bool isAvailable() const; - -private slots: - void handleResourcesGranted(); - void handleResourcesDenied(); - void handleResourcesLost(); - -private: - enum ResourceStatus { - Initial = 0, - RequestedResource, - GrantedResource - }; - - bool m_videoEnabled; - ResourcePolicy::ResourceSet *m_resourceSet; - ResourceStatus m_status; }; #endif // RESOURCEPOLICYIMPL_H |