| 1 | /* |
| 2 | * Copyright © 2018 Benjamin Otte |
| 3 | * |
| 4 | * This library is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU Lesser General Public |
| 6 | * License as published by the Free Software Foundation; either |
| 7 | * version 2.1 of the License, or (at your option) any later version. |
| 8 | * |
| 9 | * This library is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 | * Lesser General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU Lesser General Public |
| 15 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 16 | * |
| 17 | * Authors: Benjamin Otte <[email protected]> |
| 18 | */ |
| 19 | |
| 20 | #include "config.h"cxx . . $ `<file>/build/config.h`/ |
| 21 | |
| 22 | #include "gtknomediafileprivate.h"cxx . . $ `<file>/gtk/gtknomediafileprivate.h`/ |
| 23 | |
| 24 | #include <glib/gi18n-lib.h> |
| 25 | |
| 26 | struct _GtkNoMediaFilecxx . . $ _GtkNoMediaFile# |
| 27 | { |
| 28 | GtkMediaFilecxx . . $ GtkMediaFile# parent_instancecxx . . $ _GtkNoMediaFile#parent_instance.; |
| 29 | }; |
| 30 | |
| 31 | struct _GtkNoMediaFileClasscxx . . $ _GtkNoMediaFileClass# |
| 32 | { |
| 33 | GtkMediaFileClasscxx . . $ GtkMediaFileClass# parent_classcxx . . $ _GtkNoMediaFileClass#parent_class.; |
| 34 | }; |
| 35 | |
| 36 | G_DEFINE_TYPE_WITH_CODEcxx . . $ `<external>/9567554376676449156/gtype.h:1850:9`! (GtkNoMediaFile, gtk_no_media_file, GTK_TYPE_MEDIA_FILEcxx . . $ `gtk/gtkmediafile.h:37:9`!, |
| 37 | g_io_extension_point_implement (GTK_MEDIA_FILE_EXTENSION_POINT_NAMEcxx . . $ `gtk/gtkmediafile.h:35:9`!, |
| 38 | g_define_type_id, |
| 39 | "none", |
| 40 | G_MININTcxx . . $ `<external>/10505296616216143549/glibconfig.h:38:9`!);) |
| 41 | |
| 42 | static void |
| 43 | gtk_no_media_file_opencxx . . $ gtk_no_media_file_open(43096f9062fb7659). (GtkMediaFilecxx . . $ GtkMediaFile# *file) |
| 44 | { |
| 45 | gtk_media_stream_errorcxx . . $ gtk_media_stream_error(ca1526da708ac83f). (GTK_MEDIA_STREAMcxx . . $ GTK_MEDIA_STREAM(b00be4ef7f778080). (file), |
| 46 | G_IO_ERRORcxx . . $ `<external>/13894955190784973534/gioerror.h:42:9`!, |
| 47 | G_IO_ERROR_NOT_SUPPORTEDcxx . . $ G_IO_ERROR_NOT_SUPPORTED., |
| 48 | _cxx . . $ `<external>/16453136837583379545/gi18n-lib.h:32:10`!("GTK could not find a media module. Check your installation.")); |
| 49 | } |
| 50 | |
| 51 | static void |
| 52 | gtk_no_media_file_class_initcxx . . $ gtk_no_media_file_class_init(347877dc15c9d464). (GtkNoMediaFileClasscxx . . $ GtkNoMediaFileClass# *klass) |
| 53 | { |
| 54 | GtkMediaFileClasscxx . . $ GtkMediaFileClass# *file_class = GTK_MEDIA_FILE_CLASScxx . . $ GTK_MEDIA_FILE_CLASS(2cab2d6c93b351ec). (klass); |
| 55 | |
| 56 | file_class->opencxx . . $ _GtkMediaFileClass#open. = gtk_no_media_file_opencxx . . $ gtk_no_media_file_open(43096f9062fb7659).; |
| 57 | } |
| 58 | |
| 59 | static void |
| 60 | gtk_no_media_file_initcxx . . $ gtk_no_media_file_init(2143f9eed8df447). (GtkNoMediaFilecxx . . $ GtkNoMediaFile# *video) |
| 61 | { |
| 62 | } |
| 63 |