Debian Codegraph @

lib/packagekit-glib2/pk-debug.h

raw
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
2 *
3 * Copyright (C) 2010 Richard Hughes <[email protected]>
4 *
5 * Licensed under the GNU General Public License Version 2
6 *
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.
11 *
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.
16 *
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.
20 */
21
22 #if !defined (PK_COMPILATION)
23 #error "Can only include this internally!"
24 #endif
25
26 #ifndef __PK_DEBUG_H__
27 #define __PK_DEBUG_H__
28
29 #include <glib.h>
30
31 G_BEGIN_DECLS
32
33 gboolean pk_debug_is_verbose (void);
34 GOptionGroup *pk_debug_get_option_group (void);
35 void pk_debug_add_log_domain (const gchar *log_domain);
36 void pk_debug_set_verbose (gboolean verbose);
37
38 G_END_DECLS
39
40 #endif /* __PK_DEBUG_H__ */