1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
3
* Copyright (C) 2013 Richard Hughes <richard@hughsie.com>
5
* Licensed under the GNU General Public License Version 2
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22
#ifndef __GS_PROFILE_H
23
#define __GS_PROFILE_H
25
#include <glib-object.h>
29
#define GS_TYPE_PROFILE (gs_profile_get_type ())
30
#define GS_PROFILE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GS_TYPE_PROFILE, GsProfile))
31
#define GS_PROFILE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GS_TYPE_PROFILE, GsProfileClass))
32
#define GS_IS_PROFILE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GS_TYPE_PROFILE))
33
#define GS_IS_PROFILE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GS_TYPE_PROFILE))
34
#define GS_PROFILE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GS_TYPE_PROFILE, GsProfileClass))
36
typedef struct GsProfilePrivate GsProfilePrivate;
41
GsProfilePrivate *priv;
46
GObjectClass parent_class;
49
GType gs_profile_get_type (void);
51
GsProfile *gs_profile_new (void);
52
void gs_profile_start (GsProfile *profile,
54
void gs_profile_stop (GsProfile *profile,
56
void gs_profile_dump (GsProfile *profile);
60
#endif /* __GS_PROFILE_H */
62
/* vim: set noexpandtab: */