1 
2 #include <kms++/omap/omapcard.h>
3 
4 extern "C" {
5 #include <omap_drmif.h>
6 }
7 
8 using namespace std;
9 
10 namespace kms
11 {
OmapCard(const string & device)12 OmapCard::OmapCard(const string& device)
13 	: Card(device)
14 {
15 	m_omap_dev = omap_device_new(fd());
16 }
17 
~OmapCard()18 OmapCard::~OmapCard()
19 {
20 	omap_device_del(m_omap_dev);
21 }
22 
23 } // namespace kms
24