|
Packit |
f01ec2 |
/*
|
|
Packit |
f01ec2 |
* GNOME Online Miners - crawls through your online content
|
|
Packit |
f01ec2 |
* Copyright (C) 2014 Red Hat, Inc.
|
|
Packit |
f01ec2 |
*
|
|
Packit |
f01ec2 |
* This program is free software; you can redistribute it and/or
|
|
Packit |
f01ec2 |
* modify it under the terms of the GNU General Public License
|
|
Packit |
f01ec2 |
* as published by the Free Software Foundation; either version 2
|
|
Packit |
f01ec2 |
* of the License, or (at your option) any later version.
|
|
Packit |
f01ec2 |
*
|
|
Packit |
f01ec2 |
* This program is distributed in the hope that it will be useful,
|
|
Packit |
f01ec2 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
f01ec2 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit |
f01ec2 |
* GNU General Public License for more details.
|
|
Packit |
f01ec2 |
*
|
|
Packit |
f01ec2 |
* You should have received a copy of the GNU General Public License
|
|
Packit |
f01ec2 |
* along with this program; if not, write to the Free Software
|
|
Packit |
f01ec2 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
Packit |
f01ec2 |
* 02110-1301, USA.
|
|
Packit |
f01ec2 |
*
|
|
Packit |
f01ec2 |
* Author: Debarshi Ray <debarshir@gnome.org>
|
|
Packit |
f01ec2 |
*
|
|
Packit |
f01ec2 |
*/
|
|
Packit |
f01ec2 |
|
|
Packit |
f01ec2 |
#ifndef __GOM_APPLICATION_H__
|
|
Packit |
f01ec2 |
#define __GOM_APPLICATION_H__
|
|
Packit |
f01ec2 |
|
|
Packit |
f01ec2 |
#include <gio/gio.h>
|
|
Packit |
f01ec2 |
|
|
Packit |
f01ec2 |
G_BEGIN_DECLS
|
|
Packit |
f01ec2 |
|
|
Packit |
f01ec2 |
#define GOM_TYPE_APPLICATION (gom_application_get_type ())
|
|
Packit |
f01ec2 |
|
|
Packit |
f01ec2 |
#define GOM_APPLICATION(obj) \
|
|
Packit |
f01ec2 |
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
|
|
Packit |
f01ec2 |
GOM_TYPE_APPLICATION, GomApplication))
|
|
Packit |
f01ec2 |
|
|
Packit |
f01ec2 |
#define GOM_APPLICATION_CLASS(klass) \
|
|
Packit |
f01ec2 |
(G_TYPE_CHECK_CLASS_CAST ((klass), \
|
|
Packit |
f01ec2 |
GOM_TYPE_APPLICATION, GomApplicationClass))
|
|
Packit |
f01ec2 |
|
|
Packit |
f01ec2 |
#define GOM_IS_APPLICATION(obj) \
|
|
Packit |
f01ec2 |
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
|
|
Packit |
f01ec2 |
GOM_TYPE_APPLICATION))
|
|
Packit |
f01ec2 |
|
|
Packit |
f01ec2 |
#define GOM_IS_APPLICATION_CLASS(klass) \
|
|
Packit |
f01ec2 |
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
|
|
Packit |
f01ec2 |
GOM_TYPE_APPLICATION))
|
|
Packit |
f01ec2 |
|
|
Packit |
f01ec2 |
#define GOM_APPLICATION_GET_CLASS(obj) \
|
|
Packit |
f01ec2 |
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
|
|
Packit |
f01ec2 |
GOM_TYPE_APPLICATION, GomApplicationClass))
|
|
Packit |
f01ec2 |
|
|
Packit |
f01ec2 |
typedef struct _GomApplication GomApplication;
|
|
Packit |
f01ec2 |
typedef struct _GomApplicationClass GomApplicationClass;
|
|
Packit |
f01ec2 |
|
|
Packit |
f01ec2 |
GType gom_application_get_type (void);
|
|
Packit |
f01ec2 |
|
|
Packit |
f01ec2 |
GApplication * gom_application_new (const gchar *application_id, GType miner_type);
|
|
Packit |
f01ec2 |
|
|
Packit |
f01ec2 |
G_END_DECLS
|
|
Packit |
f01ec2 |
|
|
Packit |
f01ec2 |
#endif /* __GOM_APPLICATION_H__ */
|