source: proiecte/PPPP/gdm/gui/simple-chooser/gdm-chooser-host.h @ 134

Last change on this file since 134 was 134, checked in by (none), 14 years ago

gdm sources with the modifications for webcam

File size: 2.4 KB
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
2 *
3 * Copyright (C) 2008 Red Hat, Inc.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18 */
19
20#ifndef __GDM_CHOOSER_HOST__
21#define __GDM_CHOOSER_HOST__
22
23#include <glib-object.h>
24#include "gdm-address.h"
25
26G_BEGIN_DECLS
27
28#define GDM_TYPE_CHOOSER_HOST         (gdm_chooser_host_get_type ())
29#define GDM_CHOOSER_HOST(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), GDM_TYPE_CHOOSER_HOST, GdmChooserHost))
30#define GDM_CHOOSER_HOST_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), GDM_TYPE_CHOOSER_HOST, GdmChooserHostClass))
31#define GDM_IS_CHOOSER_HOST(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDM_TYPE_CHOOSER_HOST))
32#define GDM_IS_CHOOSER_HOST_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), GDM_TYPE_CHOOSER_HOST))
33#define GDM_CHOOSER_HOST_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDM_TYPE_CHOOSER_HOST, GdmChooserHostClass))
34
35typedef enum {
36        GDM_CHOOSER_HOST_KIND_XDMCP = 1 << 0,
37} GdmChooserHostKind;
38
39#define GDM_CHOOSER_HOST_KIND_MASK_ALL (GDM_CHOOSER_HOST_KIND_XDMCP)
40
41typedef struct GdmChooserHostPrivate GdmChooserHostPrivate;
42
43typedef struct
44{
45        GObject                parent;
46        GdmChooserHostPrivate *priv;
47} GdmChooserHost;
48
49typedef struct
50{
51        GObjectClass   parent_class;
52} GdmChooserHostClass;
53
54GType                 gdm_chooser_host_get_type            (void) G_GNUC_CONST;
55
56G_CONST_RETURN char  *gdm_chooser_host_get_description     (GdmChooserHost   *chooser_host);
57GdmAddress *          gdm_chooser_host_get_address         (GdmChooserHost   *chooser_host);
58gboolean              gdm_chooser_host_get_willing         (GdmChooserHost   *chooser_host);
59GdmChooserHostKind    gdm_chooser_host_get_kind            (GdmChooserHost   *chooser_host);
60
61G_END_DECLS
62
63#endif
Note: See TracBrowser for help on using the repository browser.