summaryrefslogtreecommitdiff
path: root/libkms++/drmobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkms++/drmobject.h')
-rw-r--r--libkms++/drmobject.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/libkms++/drmobject.h b/libkms++/drmobject.h
deleted file mode 100644
index a939aa7..0000000
--- a/libkms++/drmobject.h
+++ /dev/null
@@ -1,40 +0,0 @@
-#pragma once
-
-#include <map>
-
-#include "decls.h"
-
-namespace kms
-{
-
-class DrmObject
-{
- friend class Card;
-public:
- DrmObject(const DrmObject& other) = delete;
- DrmObject& operator=(const DrmObject& other) = delete;
-
- uint32_t id() const { return m_id; }
- Card& card() const { return m_card; }
-
- uint32_t object_type() const { return m_object_type; }
- uint32_t idx() const { return m_idx; }
-
-protected:
- DrmObject(Card& card, uint32_t object_type);
- DrmObject(Card& card, uint32_t id, uint32_t object_type, uint32_t idx = 0);
-
- virtual ~DrmObject();
-
- virtual void setup() { }
-
- virtual void set_id(uint32_t id);
-
-private:
- Card& m_card;
-
- uint32_t m_id;
- uint32_t m_object_type;
- uint32_t m_idx;
-};
-}