Changeset 109 for fm_server/trunk/src/fm_pipeline.c
- Timestamp:
- 09/02/06 23:16:15 (6 years ago)
- Files:
-
- 1 modified
-
fm_server/trunk/src/fm_pipeline.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fm_server/trunk/src/fm_pipeline.c
r29 r109 44 44 static void fm_pipeline_class_init (FmPipelineClass *class); 45 45 static void fm_pipeline_init (FmPipeline *pipeline); 46 //static void fm_pipeline_destroy (FmPipeline *pipeline);47 static void fm_pipeline_set_property (GObject *object,48 guint prop_id,49 const GValue *value,50 GParamSpec *pspec);51 static void fm_pipeline_get_property (GObject *object,52 guint prop_id,53 GValue *value,54 GParamSpec *pspec);55 46 56 47 //static gpointer parent_class = NULL; … … 119 110 120 111 static void 121 fm_pipeline_class_init (FmPipelineClass *class) 122 { 123 GObjectClass *gobject_class = G_OBJECT_CLASS (class); 124 125 gobject_class = G_OBJECT_CLASS (class); 112 fm_pipeline_class_init (FmPipelineClass *klass) 113 { 114 /*GObjectClass *gobject_class = G_OBJECT_CLASS (klass); 126 115 127 116 gobject_class->set_property = fm_pipeline_set_property; 128 gobject_class->get_property = fm_pipeline_get_property; 129 130 return; 131 } 117 gobject_class->get_property = fm_pipeline_get_property;*/ 118 } 119 132 120 133 121 static void … … 154 142 } 155 143 156 /*static void157 fm_pipeline_destroy (FmPipeline *pipeline)158 {159 g_return_if_fail (pipeline != NULL);160 g_return_if_fail (G_IS_OBJECT (pipeline));161 162 // Free src and sink lists163 164 return;165 }*/166 167 static void168 fm_pipeline_set_property (GObject *object,169 guint prop_id,170 const GValue *value,171 GParamSpec *pspec)172 {173 // FmOutput *output = FM_OUTPUT (object);174 175 switch (prop_id) {176 case PROP_1:177 break;178 default:179 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);180 break;181 }182 }183 184 static void185 fm_pipeline_get_property (GObject *object,186 guint prop_id,187 GValue *value,188 GParamSpec *pspec)189 {190 // FmOutput *output = FM_OUTPUT (object);191 192 switch (prop_id) {193 case PROP_1:194 break;195 default:196 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);197 break;198 }199 }200 144 201 145 FmPipeline * … … 207 151 return (g_object_new (FM_TYPE_PIPELINE, NULL)); 208 152 } 153 209 154 210 155 void
