Back to index

dbus-test-runner  12.10.0
Classes | Defines | Typedefs | Functions
process.h File Reference
#include <glib.h>
#include <glib-object.h>
#include "dbus-test.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _DbusTestProcessClass
struct  _DbusTestProcess

Defines

#define DBUS_TEST_TYPE_PROCESS   (dbus_test_process_get_type ())
#define DBUS_TEST_PROCESS(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), DBUS_TEST_TYPE_PROCESS, DbusTestProcess))
#define DBUS_TEST_PROCESS_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), DBUS_TEST_TYPE_PROCESS, DbusTestProcessClass))
#define DBUS_TEST_IS_PROCESS(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DBUS_TEST_TYPE_PROCESS))
#define DBUS_TEST_IS_PROCESS_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), DBUS_TEST_TYPE_PROCESS))
#define DBUS_TEST_PROCESS_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), DBUS_TEST_TYPE_PROCESS, DbusTestProcessClass))

Typedefs

typedef struct _DbusTestProcess
typedef struct _DbusTestProcessClass
typedef struct _DbusTestProcessPrivate

Functions

GType dbus_test_process_get_type (void)
DbusTestProcess * dbus_test_process_new (const gchar *executable)
void dbus_test_process_append_param (DbusTestProcess *process, const gchar *parameter)

Class Documentation

struct _DbusTestProcessClass

Definition at line 40 of file process.h.

Class Members
DbusTestTaskClass parent_class
struct _DbusTestProcess

Definition at line 44 of file process.h.

Class Members
DbusTestTask parent
DbusTestProcessPrivate * priv

Define Documentation

#define DBUS_TEST_IS_PROCESS (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DBUS_TEST_TYPE_PROCESS))

Definition at line 32 of file process.h.

#define DBUS_TEST_IS_PROCESS_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), DBUS_TEST_TYPE_PROCESS))

Definition at line 33 of file process.h.

#define DBUS_TEST_PROCESS (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), DBUS_TEST_TYPE_PROCESS, DbusTestProcess))

Definition at line 30 of file process.h.

#define DBUS_TEST_PROCESS_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), DBUS_TEST_TYPE_PROCESS, DbusTestProcessClass))

Definition at line 31 of file process.h.

#define DBUS_TEST_PROCESS_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), DBUS_TEST_TYPE_PROCESS, DbusTestProcessClass))

Definition at line 34 of file process.h.

Definition at line 29 of file process.h.


Typedef Documentation

typedef struct _DbusTestProcess

Definition at line 36 of file process.h.

typedef struct _DbusTestProcessClass

Definition at line 37 of file process.h.

typedef struct _DbusTestProcessPrivate

Definition at line 38 of file process.h.


Function Documentation

void dbus_test_process_append_param ( DbusTestProcess *  process,
const gchar *  parameter 
)

Definition at line 256 of file process.c.

{
       g_return_if_fail(DBUS_TEST_IS_PROCESS(process));
       g_return_if_fail(parameter != NULL);

       process->priv->parameters = g_list_append(process->priv->parameters, g_strdup(parameter));

       return;
}

Here is the caller graph for this function:

GType dbus_test_process_get_type ( void  )
DbusTestProcess* dbus_test_process_new ( const gchar *  executable)

Definition at line 243 of file process.c.

{
       g_return_val_if_fail(executable != NULL, NULL);

       DbusTestProcess * proc = g_object_new(DBUS_TEST_TYPE_PROCESS,
                                             NULL);

       proc->priv->executable = g_strdup(executable);

       return proc;
}

Here is the caller graph for this function: