summaryrefslogtreecommitdiff
path: root/kms++/src/omap/omapcard.cpp
blob: 500bb724f02c031171440fffecb80fd96a0c27cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

#include <kms++/omap/omapcard.h>

extern "C" {
#include <omap_drmif.h>
}

using namespace std;

namespace kms
{
OmapCard::OmapCard(const string& device)
	: Card(device)
{
	m_omap_dev = omap_device_new(fd());
}

OmapCard::~OmapCard()
{
	omap_device_del(m_omap_dev);
}

} // namespace kms