~oif-packaging/grail/raring

« back to all changes in this revision

Viewing changes to test/device.cpp

  • Committer: Chase Douglas
  • Date: 2012-06-21 20:30:14 UTC
  • mto: This revision was merged to the branch mainline in revision 234.
  • Revision ID: chase.douglas@ubuntu.com-20120621203014-g2uhy6mg779aufop
Rename utouch-grail to grail

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
#include <gtest/gtest.h>
29
29
 
30
 
utouch::evemu::Device::Device(const char* path) {
 
30
oif::evemu::Device::Device(const char* path) {
31
31
  static const char UINPUT_NODE[] = "/dev/uinput";
32
32
 
33
33
  device_ = evemu_new(NULL);
58
58
  }
59
59
}
60
60
 
61
 
utouch::evemu::Device::~Device() {
 
61
oif::evemu::Device::~Device() {
62
62
  close(fd_);
63
63
  evemu_delete(device_);
64
64
}