blob: 10ec7eacb2da71058169639a5b6afbab64f096ca [file] [edit]
// Copyright (c) 2012 The Chromium OS 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 "mtpd/daemon.h"
namespace mtpd {
Daemon::Daemon(DBus::Connection* dbus_connection)
: server_(*dbus_connection) {
}
Daemon::~Daemon() {
}
int Daemon::GetDeviceEventDescriptor() const {
return server_.GetDeviceEventDescriptor();
}
void Daemon::ProcessDeviceEvents() {
server_.ProcessDeviceEvents();
}
} // namespace mtpd