27 lines
643 B
C
27 lines
643 B
C
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
|
|
* vi:set noexpandtab tabstop=8 shiftwidth=8:
|
|
*
|
|
* Copyright (C) 2016 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <glib.h>
|
|
#include <glib-object.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
#define GS_TYPE_DEBUG (gs_debug_get_type ())
|
|
|
|
G_DECLARE_FINAL_TYPE (GsDebug, gs_debug, GS, DEBUG, GObject)
|
|
|
|
GsDebug *gs_debug_new (gchar **domains,
|
|
gboolean verbose,
|
|
gboolean use_time);
|
|
GsDebug *gs_debug_new_from_environment (void);
|
|
void gs_debug_set_verbose (GsDebug *self,
|
|
gboolean verbose);
|
|
|
|
G_END_DECLS
|