summaryrefslogtreecommitdiff
path: root/kms++/drmobject.cpp
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-11 21:46:24 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-11 21:46:24 +0300
commit9916712a62169606d845510028a3ea6f84bd442f (patch)
treeaca4e1bec39500812111c43a8ecee862edae0002 /kms++/drmobject.cpp
parent736b295100ce441e800457bcbd08cb36db543ff2 (diff)
kms++: organize into subdirs
Diffstat (limited to 'kms++/drmobject.cpp')
-rw-r--r--kms++/drmobject.cpp34
1 files changed, 0 insertions, 34 deletions
diff --git a/kms++/drmobject.cpp b/kms++/drmobject.cpp
deleted file mode 100644
index 8abecc7..0000000
--- a/kms++/drmobject.cpp
+++ /dev/null
@@ -1,34 +0,0 @@
-#include <string.h>
-#include <iostream>
-#include <stdexcept>
-
-#include <xf86drm.h>
-#include <xf86drmMode.h>
-
-#include "kms++.h"
-
-using namespace std;
-
-namespace kms
-{
-
-DrmObject::DrmObject(Card& card, uint32_t object_type)
- :m_card(card), m_id(-1), m_object_type(object_type), m_idx(0)
-{
-}
-
-DrmObject::DrmObject(Card& card, uint32_t id, uint32_t object_type, uint32_t idx)
- :m_card(card), m_id(id), m_object_type(object_type), m_idx(idx)
-{
-}
-
-DrmObject::~DrmObject()
-{
-
-}
-
-void DrmObject::set_id(uint32_t id)
-{
- m_id = id;
-}
-}