2
* Authors: Rodney Dawes <dobey@gnome.org>
4
* Copyright 2008-2009 Rodney Dawes
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of version 2 of the GNU General Public License
8
* as published by the Free Software Foundation
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.
15
#ifndef _STOPWATCH_WINDOWH_
16
#define _STOPWATCH_WINDOWH_
18
#include <gtk/gtkwindow.h>
20
#define STOPWATCH_TYPE_WINDOW (stopwatch_window_get_type ())
21
#define STOPWATCH_WINDOW(obj) (GTK_CHECK_CAST (obj, STOPWATCH_TYPE_WINDOW, StopwatchWindow))
22
#define STOPWATCH_WINDOWCLASS(obj) (GTK_CHECK_CLASS_CAST (obj, STOPWATCH_TYPE_WINDOW, StopwatchWindowClass))
23
#define STOPWATCH_IS_WINDOW(obj) (GTK_CHECK_TYPE (obj, STOPWATCH_TYPE_WINDOW))
24
#define STOPWATCH_IS_WINDOW_CLASS(obj) (GTK_CHECK_CLASS_TYPE (obj, STOPWATCH_TYPE_WINDOW))
25
#define STOPWATCH_WINDOWGET_CLASS(obj) (GTK_CHECK_GET_CLASS (obj, STOPWATCH_TYPE_WINDOW, StopwatchWindowClass))
27
typedef struct _StopwatchWindow StopwatchWindow;
28
typedef struct _StopwatchWindowClass StopwatchWindowClass;
29
typedef struct _StopwatchWindowPrivate StopwatchWindowPrivate;
31
struct _StopwatchWindow {
34
StopwatchWindowPrivate * priv;
37
struct _StopwatchWindowClass {
38
GtkWindowClass parent_class;
41
GType stopwatch_window_get_type (void) G_GNUC_CONST;
42
GtkWidget * stopwatch_window_new (void);