Back to index

lightdm  1.3.2
Classes | Defines | Typedefs | Functions
display-server.h File Reference
#include <glib-object.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DisplayServer
struct  DisplayServerClass

Defines

#define DISPLAY_SERVER_TYPE   (display_server_get_type())
#define DISPLAY_SERVER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), DISPLAY_SERVER_TYPE, DisplayServer))
#define DISPLAY_SERVER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), DISPLAY_SERVER_TYPE, DisplayServerClass))
#define DISPLAY_SERVER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), DISPLAY_SERVER_TYPE, DisplayServerClass))

Typedefs

typedef struct DisplayServerPrivate

Functions

GType display_server_get_type (void)
void display_server_set_name (DisplayServer *server, const gchar *name)
const gchar * display_server_get_name (DisplayServer *server)
void display_server_set_start_local_sessions (DisplayServer *server, gboolean start_local_sessions)
gboolean display_server_get_start_local_sessions (DisplayServer *server)
gboolean display_server_start (DisplayServer *server)
void display_server_stop (DisplayServer *server)
gboolean display_server_get_is_stopped (DisplayServer *server)

Class Documentation

struct DisplayServer

Definition at line 26 of file display-server.h.

Collaboration diagram for DisplayServer:
Class Members
GObject parent_instance
DisplayServerPrivate * priv

Define Documentation

#define DISPLAY_SERVER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), DISPLAY_SERVER_TYPE, DisplayServer))

Definition at line 20 of file display-server.h.

#define DISPLAY_SERVER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), DISPLAY_SERVER_TYPE, DisplayServerClass))

Definition at line 21 of file display-server.h.

#define DISPLAY_SERVER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), DISPLAY_SERVER_TYPE, DisplayServerClass))

Definition at line 22 of file display-server.h.

Definition at line 19 of file display-server.h.


Typedef Documentation

typedef struct DisplayServerPrivate

Definition at line 24 of file display-server.h.


Function Documentation

Definition at line 85 of file display-server.c.

{
    g_return_val_if_fail (server != NULL, TRUE);
    return DISPLAY_SERVER_GET_CLASS (server)->get_is_stopped (server);
}

Here is the caller graph for this function:

const gchar* display_server_get_name ( DisplayServer server)

Definition at line 43 of file display-server.c.

{
    g_return_val_if_fail (server != NULL, NULL);
    return server->priv->name;
}

Here is the caller graph for this function:

Definition at line 57 of file display-server.c.

{
    g_return_val_if_fail (server != NULL, FALSE);
    return server->priv->start_local_sessions;
}

Here is the caller graph for this function:

GType display_server_get_type ( void  )
void display_server_set_name ( DisplayServer server,
const gchar *  name 
)

Definition at line 35 of file display-server.c.

{
    g_return_if_fail (server != NULL);
    g_free (server->priv->name);
    server->priv->name = g_strdup (name);
}

Here is the caller graph for this function:

void display_server_set_start_local_sessions ( DisplayServer server,
gboolean  start_local_sessions 
)

Definition at line 50 of file display-server.c.

{
    g_return_if_fail (server != NULL);
    server->priv->start_local_sessions = start_local_sessions;
}

Here is the caller graph for this function:

gboolean display_server_start ( DisplayServer server)

Definition at line 64 of file display-server.c.

{
    g_return_val_if_fail (server != NULL, FALSE);
    return DISPLAY_SERVER_GET_CLASS (server)->start (server);
}

Here is the caller graph for this function:

void display_server_stop ( DisplayServer server)

Definition at line 78 of file display-server.c.

{
    g_return_if_fail (server != NULL);
    DISPLAY_SERVER_GET_CLASS (server)->stop (server);
}

Here is the caller graph for this function: