Back to index

lightdm  1.3.2
Classes | Defines | Typedefs | Functions
xserver-xvnc.h File Reference
#include "xserver.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  XServerXVNC
struct  XServerXVNCClass

Defines

#define XSERVER_XVNC_TYPE   (xserver_xvnc_get_type())
#define XSERVER_XVNC(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), XSERVER_XVNC_TYPE, XServerXVNC))
#define IS_XSERVER_XVNC(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XSERVER_XVNC_TYPE))

Typedefs

typedef struct XServerXVNCPrivate

Functions

GType xserver_xvnc_get_type (void)
gboolean xserver_xvnc_check_available (void)
XServerXVNCxserver_xvnc_new (void)
void xserver_xvnc_set_socket (XServerXVNC *server, int fd)
int xserver_xvnc_get_socket (XServerXVNC *server)
void xserver_xvnc_set_geometry (XServerXVNC *server, gint width, gint height)
void xserver_xvnc_set_depth (XServerXVNC *server, gint depth)
gchar * xserver_xvnc_get_authority_file_path (XServerXVNC *server)

Class Documentation

struct XServerXVNC

Definition at line 25 of file xserver-xvnc.h.

Collaboration diagram for XServerXVNC:
Class Members
XServer parent_instance
XServerXVNCPrivate * priv

Define Documentation

#define IS_XSERVER_XVNC (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), XSERVER_XVNC_TYPE))

Definition at line 21 of file xserver-xvnc.h.

#define XSERVER_XVNC (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), XSERVER_XVNC_TYPE, XServerXVNC))

Definition at line 20 of file xserver-xvnc.h.

Definition at line 19 of file xserver-xvnc.h.


Typedef Documentation

typedef struct XServerXVNCPrivate

Definition at line 23 of file xserver-xvnc.h.


Function Documentation

gboolean xserver_xvnc_check_available ( void  )

Definition at line 92 of file xserver-xvnc.c.

{
    g_return_val_if_fail (server != NULL, 0);
    if (server->priv->authority_file)
        return g_file_get_path (server->priv->authority_file);
    return NULL;
}

Here is the caller graph for this function:

Definition at line 70 of file xserver-xvnc.c.

{
    g_return_val_if_fail (server != NULL, 0);
    return server->priv->socket_fd;
}
GType xserver_xvnc_get_type ( void  )

Definition at line 48 of file xserver-xvnc.c.

{
    XServerXVNC *self = g_object_new (XSERVER_XVNC_TYPE, NULL);
    gchar *name;

    xserver_set_display_number (XSERVER (self), xserver_local_get_unused_display_number ());

    name = g_strdup_printf ("xvnc-%d", xserver_get_display_number (XSERVER (self)));
    display_server_set_name (DISPLAY_SERVER (self), name);
    g_free (name);

    return self;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void xserver_xvnc_set_depth ( XServerXVNC server,
gint  depth 
)

Definition at line 85 of file xserver-xvnc.c.

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

Here is the caller graph for this function:

void xserver_xvnc_set_geometry ( XServerXVNC server,
gint  width,
gint  height 
)

Definition at line 77 of file xserver-xvnc.c.

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

Here is the caller graph for this function:

void xserver_xvnc_set_socket ( XServerXVNC server,
int  fd 
)

Definition at line 63 of file xserver-xvnc.c.

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

Here is the caller graph for this function: