chromium/device/udev_linux/scoped_udev.h

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef DEVICE_UDEV_LINUX_SCOPED_UDEV_H_
#define DEVICE_UDEV_LINUX_SCOPED_UDEV_H_

#include <memory>

#include "device/udev_linux/udev.h"

#if !defined(USE_UDEV)
#error "USE_UDEV not defined"
#endif

namespace device {

struct UdevDeleter {};
struct UdevEnumerateDeleter {};
struct UdevDeviceDeleter {};
struct UdevMonitorDeleter {};

ScopedUdevPtr;
ScopedUdevEnumeratePtr;
ScopedUdevDevicePtr;
ScopedUdevMonitorPtr;

}  // namespace device

#endif  // DEVICE_UDEV_LINUX_SCOPED_UDEV_H_