Darin Petkov | f7897bc | 2011-06-08 17:13:36 -0700 | [diff] [blame^] | 1 | // Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef SHILL_GLIB_H_ |
| 6 | #define SHILL_GLIB_H_ |
| 7 | |
| 8 | #include "shill/glib_interface.h" |
| 9 | |
| 10 | namespace shill { |
| 11 | |
| 12 | // A concrete implementation of the GLib interface. |
| 13 | class GLib : public GLibInterface { |
| 14 | public: |
| 15 | virtual gboolean SpawnAsync(const gchar *working_directory, |
| 16 | gchar **argv, |
| 17 | gchar **envp, |
| 18 | GSpawnFlags flags, |
| 19 | GSpawnChildSetupFunc child_setup, |
| 20 | gpointer user_data, |
| 21 | GPid *child_pid, |
| 22 | GError **error); |
| 23 | }; |
| 24 | |
| 25 | } // namespace shill |
| 26 | |
| 27 | #endif // SHILL_GLIB_H_ |