Debian Codegraph @

gtk/inspector/recording.c

raw symbols SCIP
1 /*
2 * Copyright (c) 2016 Red Hat, Inc.
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 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
18 #include "config.h"cxx . . $ `<file>/build/config.h`/
19 #include <glib/gi18n-lib.h>
20
21 #include "recording.h"cxx . . $ `<file>/gtk/inspector/recording.h`/
22
23 enumcxx . . $ $anonymous_type_c7c1ea1d0b2426f1_0#
24 {
25 PROP_0cxx . . $ PROP_0.,
26 PROP_TIMESTAMPcxx . . $ PROP_TIMESTAMP.,
27 LAST_PROPcxx . . $ LAST_PROP.
28 };
29
30 static GParamSpeccxx . . $ GParamSpec# *propscxx . . $ props.[LAST_PROPcxx . . $ LAST_PROP.] = { NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, };
31
32
33 G_DEFINE_TYPEcxx . . $ `<external>/9567554376676449156/gtype.h:1834:9`! (GtkInspectorRecording, gtk_inspector_recording, G_TYPE_OBJECTcxx . . $ `<external>/9567554376676449156/gtype.h:189:9`!)
34
35 static void
36 gtk_inspector_recording_get_propertycxx . . $ gtk_inspector_recording_get_property(cee2c52f22407c66). (GObjectcxx . . $ GObject# *object,
37 guintcxx . . $ guint# param_id,
38 GValuecxx . . $ GValue# *value,
39 GParamSpeccxx . . $ GParamSpec# *pspec)
40 {
41 GtkInspectorRecordingcxx . . $ GtkInspectorRecording# *recording = GTK_INSPECTOR_RECORDINGcxx . . $ `gtk/inspector/recording.h:23:9`! (object);
42
43 switch (param_id)
44 {
45 case PROP_TIMESTAMPcxx . . $ PROP_TIMESTAMP.:
46 g_value_set_int64cxx . . $ g_value_set_int64(fd815f0c60eea506). (value, recording->timestampcxx . . $ _GtkInspectorRecording#timestamp.);
47 break;
48
49 default:
50 G_OBJECT_WARN_INVALID_PROPERTY_IDcxx . . $ `<external>/1341695927569185362/gobject.h:690:9`! (object, param_id, pspec);
51 break;
52 }
53 }
54
55 static void
56 gtk_inspector_recording_set_propertycxx . . $ gtk_inspector_recording_set_property(d7c4bb29f36c0dc4). (GObjectcxx . . $ GObject# *object,
57 guintcxx . . $ guint# param_id,
58 const GValuecxx . . $ GValue# *value,
59 GParamSpeccxx . . $ GParamSpec# *pspec)
60 {
61 GtkInspectorRecordingcxx . . $ GtkInspectorRecording# *recording = GTK_INSPECTOR_RECORDINGcxx . . $ `gtk/inspector/recording.h:23:9`! (object);
62
63 switch (param_id)
64 {
65 case PROP_TIMESTAMPcxx . . $ PROP_TIMESTAMP.:
66 recording->timestampcxx . . $ _GtkInspectorRecording#timestamp. = g_value_get_int64cxx . . $ g_value_get_int64(10bff389986b3225). (value);
67 break;
68
69 default:
70 G_OBJECT_WARN_INVALID_PROPERTY_IDcxx . . $ `<external>/1341695927569185362/gobject.h:690:9`! (object, param_id, pspec);
71 break;
72 }
73 }
74
75 static void
76 gtk_inspector_recording_class_initcxx . . $ gtk_inspector_recording_class_init(e17d68876b11d1c9). (GtkInspectorRecordingClasscxx . . $ GtkInspectorRecordingClass# *klass)
77 {
78 GObjectClasscxx . . $ GObjectClass# *object_class = G_OBJECT_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:61:9`! (klass);
79
80 object_class->get_propertycxx . . $ _GObjectClass#get_property. = gtk_inspector_recording_get_propertycxx . . $ gtk_inspector_recording_get_property(cee2c52f22407c66).;
81 object_class->set_propertycxx . . $ _GObjectClass#set_property. = gtk_inspector_recording_set_propertycxx . . $ gtk_inspector_recording_set_property(d7c4bb29f36c0dc4).;
82
83 propscxx . . $ props.[PROP_TIMESTAMPcxx . . $ PROP_TIMESTAMP.] =
84 g_param_spec_int64cxx . . $ g_param_spec_int64(884a4d289ce835be). ("timestamp", NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!,
85 G_MININT64cxx . . $ `<external>/10787549987161854489/gtypes.h:105:9`!, G_MAXINT64cxx . . $ `<external>/10787549987161854489/gtypes.h:106:9`!, 0,
86 G_PARAM_READWRITEcxx . . $ G_PARAM_READWRITE. | G_PARAM_CONSTRUCTcxx . . $ G_PARAM_CONSTRUCT.);
87
88 g_object_class_install_propertiescxx . . $ g_object_class_install_properties(569d03e6a4088541). (object_class, LAST_PROPcxx . . $ LAST_PROP., propscxx . . $ props.);
89 }
90
91 static void
92 gtk_inspector_recording_initcxx . . $ gtk_inspector_recording_init(6b660488075cdb04). (GtkInspectorRecordingcxx . . $ GtkInspectorRecording# *vis)
93 {
94 }
95
96 gint64cxx . . $ gint64#
97 gtk_inspector_recording_get_timestampcxx . . $ gtk_inspector_recording_get_timestamp(80a83b13703240ff). (GtkInspectorRecordingcxx . . $ GtkInspectorRecording# *recording)
98 {
99 return recording->timestampcxx . . $ _GtkInspectorRecording#timestamp.;
100 }
101
102 // vim: set et sw=2 ts=2: