~fginther/geis/geis-2.2.9.1-precise

« back to all changes in this revision

Viewing changes to testsuite/gtest/gtest_evemu_device.cpp

  • Committer: Francis Ginther
  • Date: 2012-08-16 13:43:15 UTC
  • mfrom: (49.1.37)
  • Revision ID: francis.ginther@canonical.com-20120816134315-ex9m75nqcv0uryim
* New upstream release.
  - fixes pinch radius and drag delta calculations (lp: #985916)
    (lp: #986215)
  - changes type of geisSubscriptionFlags (lp: #813819)
  - changes direct devices to use window coordinates (lp: #984069)
  - reports device axis extents, if available (lp: #987539)
  - removes XCB back end
  - removes overlapping events when a gesture is accepted (lp: #1001365)
  - avoids trying to start a DBus session if there is none already
    (lp: #997630)
  - detect added devices properly (LP: #1009270)
  - fix crash when accepting a gesture (LP: #1015775)
  - fix result value of geis_subscription_deactivate() (LP: #1021448)
  - upstream project renamed to just 'geis'

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
2
 * @file testsuite/geis2/gtest_evemu_device.cpp
3
 
 * @brief OO wrapper for a utouch-evemu device
 
3
 * @brief OO wrapper for a evemu device
4
4
 */
5
5
/*
6
6
 * Copyright 2012 Canonical Ltd.
73
73
}
74
74
  
75
75
 
 
76
std::string Testsuite::EvemuDevice::
 
77
name() const
 
78
{
 
79
  const char* device_name = evemu_get_name(evemu_device_);
 
80
  if (device_name)
 
81
    return device_name;
 
82
  return "";
 
83
}
 
84
 
 
85
 
76
86
void Testsuite::EvemuDevice::
77
87
play(const std::string& eventsFileName)
78
88
{