From a2c73b6ba3c9ea307b0b0eb94c9e769a1f31dc00 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 12 May 2025 16:21:53 +0200 Subject: lib: move C library to new directory --- core/include/turns/turns-disposition.h | 18 ------------------ core/include/turns/turns-enums.h.in | 22 ---------------------- core/include/turns/turns-participant.h | 27 --------------------------- 3 files changed, 67 deletions(-) delete mode 100644 core/include/turns/turns-disposition.h delete mode 100644 core/include/turns/turns-enums.h.in delete mode 100644 core/include/turns/turns-participant.h (limited to 'core/include') diff --git a/core/include/turns/turns-disposition.h b/core/include/turns/turns-disposition.h deleted file mode 100644 index c5bb174..0000000 --- a/core/include/turns/turns-disposition.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef TURNS_DISPOSITION_H -#define TURNS_DISPOSITION_H - -#include - -G_BEGIN_DECLS - -typedef enum -{ - TURNS_DISPOSITION_NEUTRAL, - TURNS_DISPOSITION_FRIENDLY, - TURNS_DISPOSITION_HOSTILE, - TURNS_DISPOSITION_SECRET, -} TurnsDisposition; - -G_END_DECLS - -#endif diff --git a/core/include/turns/turns-enums.h.in b/core/include/turns/turns-enums.h.in deleted file mode 100644 index 10bb3f1..0000000 --- a/core/include/turns/turns-enums.h.in +++ /dev/null @@ -1,22 +0,0 @@ -/*** BEGIN file-header ***/ -#pragma once - -#include -#include - -G_BEGIN_DECLS -/*** END file-header ***/ - -/*** BEGIN file-production ***/ - -/* enumerations from "@basename@" */ -/*** END file-production ***/ - -/*** BEGIN value-header ***/ -GType @enum_name@_get_type (void) G_GNUC_CONST; -#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ()) -/*** END value-header ***/ - -/*** BEGIN file-tail ***/ -G_END_DECLS -/*** END file-tail ***/ \ No newline at end of file diff --git a/core/include/turns/turns-participant.h b/core/include/turns/turns-participant.h deleted file mode 100644 index 001de6b..0000000 --- a/core/include/turns/turns-participant.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef TURNS_PARTICIPANT_H -#define TURNS_PARTICIPANT_H - -#include "turns/turns-disposition.h" - -#include -#include -#include - -G_BEGIN_DECLS - -#define TURNS_TYPE_PARTICIPANT turns_participant_get_type() -G_DECLARE_FINAL_TYPE(TurnsParticipant, turns_participant, TURNS, PARTICIPANT, GObject) - -TurnsParticipant * turns_participant_new(gchar const * name, gfloat priority, TurnsDisposition disposition) G_GNUC_WARN_UNUSED_RESULT; - -gchar const * turns_participant_get_name(TurnsParticipant const * self); -gfloat turns_participant_get_priority(TurnsParticipant const * self); -TurnsDisposition turns_participant_get_disposition(TurnsParticipant const * self); - -void turns_participant_set_name(TurnsParticipant * self, gchar const * value); -void turns_participant_set_priority(TurnsParticipant * self, gfloat value); -void turns_participant_set_disposition(TurnsParticipant * self, TurnsDisposition value); - -G_END_DECLS - -#endif \ No newline at end of file -- cgit v1.2.3