~ubuntu-branches/ubuntu/utopic/mir/utopic-proposed

« back to all changes in this revision

Viewing changes to include/test/mir_test_framework/udev_environment.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2014-03-10 19:28:46 UTC
  • mto: This revision was merged to the branch mainline in revision 63.
  • Revision ID: package-import@ubuntu.com-20140310192846-rq9qm3ec26yrelo2
Tags: upstream-0.1.6+14.04.20140310
ImportĀ upstreamĀ versionĀ 0.1.6+14.04.20140310

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    UdevEnvironment();
36
36
    ~UdevEnvironment() noexcept;
37
37
 
38
 
    void add_standard_drm_devices();
39
 
 
40
38
    std::string add_device(char const* subsystem,
41
39
                           char const* name,
42
40
                           char const* parent,
45
43
    void remove_device(std::string const& device_path);
46
44
    void emit_device_changed(std::string const& device_path);
47
45
 
 
46
    /**
 
47
     * Add a device from the set of standard device traces
 
48
     *
 
49
     * Looks for a <tt>name</tt>.umockdev file, and adds a UMockDev device
 
50
     * from that description.
 
51
     *
 
52
     * If <tt>name</tt>.ioctl exists, it loads that ioctl script for the device
 
53
     *
 
54
     * @param name The unadorned filename of the device traces to add.
 
55
     */
 
56
    void add_standard_device(std::string const& name);
 
57
 
48
58
    UMockdevTestbed *testbed;
49
59
};
50
60