From e48fc61bf4cf43a90b7ddf16e3cbb3b247333c89 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 4 Jul 2012 18:01:12 +0200 Subject: Initial release --- maximus/maximus-app.h | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 maximus/maximus-app.h (limited to 'maximus/maximus-app.h') diff --git a/maximus/maximus-app.h b/maximus/maximus-app.h new file mode 100644 index 0000000..8eb64f7 --- /dev/null +++ b/maximus/maximus-app.h @@ -0,0 +1,66 @@ +/* + * Copyright (C) 2008 Canonical Ltd + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 3 as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * Authored by Neil Jagdish Patel + * + */ + +#ifndef _MAXIMUS_APP_H_ +#define _MAXIMUS_APP_H_ + +#include +#include +#include + +#define MAXIMUS_TYPE_APP (maximus_app_get_type ()) + +#define MAXIMUS_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),\ + MAXIMUS_TYPE_APP, MaximusApp)) + +#define MAXIMUS_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),\ + MAXIMUS_TYPE_APP, MaximusAppClass)) + +#define MAXIMUS_IS_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),\ + MAXIMUS_TYPE_APP)) + +#define MAXIMUS_IS_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),\ + MAXIMUS_TYPE_APP)) + +#define MAXIMUS_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),\ + MAXIMUS_TYPE_APP, MaximusAppClass)) + +typedef struct _MaximusApp MaximusApp; +typedef struct _MaximusAppClass MaximusAppClass; +typedef struct _MaximusAppPrivate MaximusAppPrivate; + +struct _MaximusApp +{ + GObject parent; + + MaximusAppPrivate *priv; +}; + +struct _MaximusAppClass +{ + GObjectClass parent_class; +}; + +GType maximus_app_get_type (void) G_GNUC_CONST; + +MaximusApp * maximus_app_get_default (void); + + +#endif /* _MAXIMUS_APP_H_ */ + -- cgit v1.2.1