summaryrefslogtreecommitdiff
path: root/river/include
diff options
context:
space:
mode:
Diffstat (limited to 'river/include')
-rw-r--r--river/include/astal-river.h59
-rw-r--r--river/include/meson.build6
-rw-r--r--river/include/river-private.h20
-rw-r--r--river/include/wayland-source.h16
4 files changed, 0 insertions, 101 deletions
diff --git a/river/include/astal-river.h b/river/include/astal-river.h
deleted file mode 100644
index 6bedd94..0000000
--- a/river/include/astal-river.h
+++ /dev/null
@@ -1,59 +0,0 @@
-#ifndef ASTAL_RIVER_H
-#define ASTAL_RIVER_H
-
-#include <glib-object.h>
-
-G_BEGIN_DECLS
-
-#define ASTAL_RIVER_TYPE_OUTPUT (astal_river_output_get_type())
-
-G_DECLARE_FINAL_TYPE(AstalRiverOutput, astal_river_output, ASTAL_RIVER, OUTPUT, GObject)
-
-guint astal_river_output_get_id(AstalRiverOutput *self);
-
-gchar *astal_river_output_get_name(AstalRiverOutput *self);
-
-gchar *astal_river_output_get_layout_name(AstalRiverOutput *self);
-
-gchar *astal_river_output_get_focused_view(AstalRiverOutput *self);
-
-guint astal_river_output_get_focused_tags(AstalRiverOutput *self);
-
-guint astal_river_output_get_urgent_tags(AstalRiverOutput *self);
-
-guint astal_river_output_get_occupied_tags(AstalRiverOutput *self);
-
-#define ASTAL_RIVER_TYPE_RIVER (astal_river_river_get_type())
-
-G_DECLARE_FINAL_TYPE(AstalRiverRiver, astal_river_river, ASTAL_RIVER, RIVER, GObject)
-
-AstalRiverRiver *astal_river_river_new();
-
-AstalRiverRiver *astal_river_river_get_default();
-AstalRiverRiver *astal_river_get_default();
-
-GList *astal_river_river_get_outputs(AstalRiverRiver *self);
-
-AstalRiverOutput *astal_river_river_get_output(AstalRiverRiver *self, gchar *name);
-
-gchar *astal_river_river_get_focused_view(AstalRiverRiver *self);
-
-gchar *astal_river_river_get_focused_output(AstalRiverRiver *self);
-
-gchar *astal_river_river_get_mode(AstalRiverRiver *self);
-
-/**
- * AstalRiverCommandCallback:
- * @success: a #gboolean indicating whether the command was executed successfully
- * @msg: a string containing the result of the command
- *
- * A callback function that is called after a river command is run.
- */
-typedef void (*AstalRiverCommandCallback)(gboolean success, const gchar *msg);
-
-void astal_river_river_run_command_async(AstalRiverRiver *self, gint length, const gchar **cmd,
- AstalRiverCommandCallback callback);
-
-G_END_DECLS
-
-#endif // !ASTAL_RIVER_H
diff --git a/river/include/meson.build b/river/include/meson.build
deleted file mode 100644
index 28a51f6..0000000
--- a/river/include/meson.build
+++ /dev/null
@@ -1,6 +0,0 @@
-astal_river_inc = include_directories('.')
-astal_river_headers = files(
- 'astal-river.h',
-)
-
-install_headers('astal-river.h')
diff --git a/river/include/river-private.h b/river/include/river-private.h
deleted file mode 100644
index 14cd1c5..0000000
--- a/river/include/river-private.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#ifndef ASTAL_RIVER_OUTPUT_PRIVATE_H
-#define ASTAL_RIVER_OUTPUT_PRIVATE_H
-
-#include <wayland-client.h>
-
-#include "astal-river.h"
-#include "river-status-unstable-v1-client.h"
-
-G_BEGIN_DECLS
-
-AstalRiverOutput *astal_river_output_new(guint id, struct wl_output *wl_output,
- struct zriver_status_manager_v1 *status_manager,
- struct wl_display *wl_display);
-
-struct wl_output *astal_river_output_get_wl_output(AstalRiverOutput *self);
-void astal_river_output_set_focused_view(AstalRiverOutput *self, const gchar *focused_view);
-
-G_END_DECLS
-
-#endif // !ASTAL_RIVER_OUTPUT_PRIVATE_H
diff --git a/river/include/wayland-source.h b/river/include/wayland-source.h
deleted file mode 100644
index b219589..0000000
--- a/river/include/wayland-source.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef __WAYLAND_SOURCE_H__
-#define __WAYLAND_SOURCE_H__
-
-#include <glib-object.h>
-
-G_BEGIN_DECLS
-
-typedef struct _WLSource WLSource;
-
-WLSource* wl_source_new();
-void wl_source_free(WLSource* self);
-struct wl_display* wl_source_get_display(WLSource* source);
-
-G_END_DECLS
-
-#endif /* __WAYLAND_SOURCE_H__ */