blob: a52123f95379c614fecd22f0e2190e2c213ef683 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/events/ozone/device/device_manager.h"
#if defined(USE_UDEV)
#include "ui/events/ozone/device/udev/device_manager_udev.h"
#else
#include "ui/events/ozone/device/device_manager_manual.h"
#endif
namespace ui {
scoped_ptr<DeviceManager> CreateDeviceManager() {
#if defined(USE_UDEV)
return make_scoped_ptr(new DeviceManagerUdev());
#else
return make_scoped_ptr(new DeviceManagerManual());
#endif
}
} // namespace ui