File: libfeedback.h

package info (click to toggle)
feedbackd 0.0.0%2Bgit20210125-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 636 kB
  • sloc: ansic: 4,567; xml: 348; sh: 23; makefile: 17; python: 14
file content (31 lines) | stat: -rw-r--r-- 761 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * Copyright (C) 2020 Purism SPC
 *
 * SPDX-License-Identifier: LGPL-2.1+
 */
#pragma once

#include <glib.h>

G_BEGIN_DECLS

#define __LIBFEEDBACK_H_INSIDE__

#ifndef LIBFEEDBACK_USE_UNSTABLE_API
#error    LIBFEEDBACK is unstable API. You must define LIBFEEDBACK_USE_UNSTABLE_API before including libfeedback.h
#endif

#include "lfb-enums.h"
#include "lfb-event.h"
#include "lfb-gdbus.h"

gboolean    lfb_init (const gchar *app_id, GError **error);
void        lfb_uninit (void);
void        lfb_set_app_id (const char *app_id);
const char *lfb_get_app_id (void);
gboolean    lfb_is_initted (void);
void        lfb_set_feedback_profile (const char *profile);
const char *lfb_get_feedback_profile (void);
LfbGdbusFeedback *lfb_get_proxy (void);

G_END_DECLS