summaryrefslogtreecommitdiff
path: root/chromium/third_party/mtpd/source/daemon.cc
blob: c96f75d822d2f7ae22db88243385b23331939f13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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 "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