/* Clapper Application * Copyright (C) 2024 Rafał Dzięgiel * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #pragma once #include #include #include #include G_BEGIN_DECLS #define CLAPPER_APP_TYPE_WINDOW (clapper_app_window_get_type()) #define CLAPPER_APP_WINDOW_CAST(obj) ((ClapperAppWindow *)(obj)) typedef struct { gchar *video_filter; gchar *audio_filter; gchar *video_sink; gchar *audio_sink; } ClapperAppWindowExtraOptions; G_DECLARE_FINAL_TYPE (ClapperAppWindow, clapper_app_window, CLAPPER_APP, WINDOW, GtkApplicationWindow) G_GNUC_INTERNAL GtkWidget * clapper_app_window_new (GtkApplication *application); G_GNUC_INTERNAL GtkWidget * clapper_app_window_get_video (ClapperAppWindow *window); G_GNUC_INTERNAL ClapperPlayer * clapper_app_window_get_player (ClapperAppWindow *window); G_GNUC_INTERNAL ClapperAppWindowExtraOptions * clapper_app_window_get_extra_options (ClapperAppWindow *window); G_GNUC_INTERNAL void clapper_app_window_ensure_no_initial_state (ClapperAppWindow *window); G_END_DECLS