1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
3
* Copyright (C) 2002 CodeFactory AB
4
* Copyright (C) 2002 Richard Hult <richard@imendi.com>
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License as
8
* published by the Free Software Foundation; either version 2 of the
9
* License, or (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* General Public License for more details.
16
* You should have received a copy of the GNU General Public
17
* License along with this program; if not, write to the
18
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19
* Boston, MA 02111-1307, USA.
22
#ifndef __DRW_MONITOR_H__
23
#define __DRW_MONITOR_H__
25
#include <glib-object.h>
27
#define DRW_TYPE_MONITOR (drw_monitor_get_type ())
28
#define DRW_MONITOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DRW_TYPE_MONITOR, DrwMonitor))
29
#define DRW_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), DRW_TYPE_MONITOR, DrwMonitorClass))
30
#define DRW_IS_MONITOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DRW_TYPE_MONITOR))
31
#define DRW_IS_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), DRW_TYPE_MONITOR))
32
#define DRW_MONITOR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DRW_TYPE_MONITOR, DrwMonitorClass))
34
typedef struct _DrwMonitor DrwMonitor;
35
typedef struct _DrwMonitorClass DrwMonitorClass;
36
typedef struct _DrwMonitorPriv DrwMonitorPriv;
44
struct _DrwMonitorClass {
45
GObjectClass parent_class;
48
GType drw_monitor_get_type (void) G_GNUC_CONST;
49
DrwMonitor *drw_monitor_new (void);
51
#endif /* __DRW_MONITOR_H__ */