ipc/dbus/DBusThread.h
author Chris Jones <jones.chris.g@gmail.com>
Tue, 08 May 2012 14:36:07 -0700
changeset 97585 251188d5a55c0fe0cc323505678d041db855bc53
parent 94973 db5d4c1aece7290741f14f3f438f196be51ae710
child 99702 5f9bf688b9ac88ec8ff5fbcee441e323070575ae
permissions -rw-r--r--
Bug 745145, part 1: Generalize ScreenOrientation into ScreenConfiguration, and add screen rect and color+pixel depth to it. r=mounir

/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
/* vim: set ts=2 et sw=2 tw=40: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef mozilla_ipc_dbus_gonk_dbusthread_h__
#define mozilla_ipc_dbus_gonk_dbusthread_h__

namespace mozilla {
namespace ipc {


// Starts the DBus thread, which handles returning signals to objects
// that call asynchronous functions. This should be called from the
// main thread at startup.
bool StartDBus();

// Stop the DBus thread, assuming it's currently running. Should be
// called from main thread.
bool StopDBus();
}
}
#endif