1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-13 16:07:36 +00:00
Purism-Calls/tests/mock-libfeedback.h
Evangelos Ribeiro Tzaras 7dadb3c50f tests: Add ringer tests
We mock libfeedback and CallsCall to test the ringer for the following
scenarios:
- Call state changes
- User requested silencing of ringer
- Multiple calls
2021-12-05 09:50:25 +01:00

28 lines
1.6 KiB
C

#pragma once
#define LIBFEEDBACK_USE_UNSTABLE_API
#include <libfeedback.h>
#include <glib.h>
gboolean __wrap_lfb_init (const char *app_id,
GError **error);
void __wrap_lfb_uninit (void);
void __wrap_lfb_event_set_feedback_profile (LfbEvent *self,
const char *profile);
void __wrap_lfb_event_trigger_feedback_async (LfbEvent *self,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean __wrap_lfb_event_trigger_feedback_finish (LfbEvent *self,
GAsyncResult *res,
GError **error);
void __wrap_lfb_event_end_feedback_async (LfbEvent *self,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean __wrap_lfb_event_end_feedback_finish (LfbEvent *self,
GAsyncResult *res,
GError **error);