summaryrefslogtreecommitdiff
path: root/wiki/Chat_log/20201105-core-chatlog
AgeCommit message (Expand)Author
2020-11-17wiki: Add Core chatlog for 2020-11-05Geert Uytterhoeven
18' href='#n18'>18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
#include <cstring>
#include <iostream>
#include <stdexcept>

#include <xf86drm.h>
#include <xf86drmMode.h>

#include <kms++/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;
}
}