|
9 | 9 | #include <glib-object.h>
|
10 | 10 | #include <stdlib.h>
|
11 | 11 | #include <string.h>
|
| 12 | +#include <vala.h> |
12 | 13 |
|
13 | 14 | G_BEGIN_DECLS
|
14 | 15 |
|
@@ -101,6 +102,17 @@ typedef struct _bobbuilderbuildpluginCCOptions bobbuilderbuildpluginCCOptions;
|
101 | 102 | typedef struct _bobbuilderbuildpluginCCOptionsClass bobbuilderbuildpluginCCOptionsClass;
|
102 | 103 | typedef struct _bobbuilderbuildpluginCCOptionsPrivate bobbuilderbuildpluginCCOptionsPrivate;
|
103 | 104 |
|
| 105 | +#define BOB_BUILDER_BUILD_PLUGIN_TYPE_DEPENEDENCY_DATA_TESTER (bob_builder_build_plugin_depenedency_data_tester_get_type ()) |
| 106 | +#define BOB_BUILDER_BUILD_PLUGIN_DEPENEDENCY_DATA_TESTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOB_BUILDER_BUILD_PLUGIN_TYPE_DEPENEDENCY_DATA_TESTER, bobbuilderbuildpluginDepenedencyDataTester)) |
| 107 | +#define BOB_BUILDER_BUILD_PLUGIN_DEPENEDENCY_DATA_TESTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOB_BUILDER_BUILD_PLUGIN_TYPE_DEPENEDENCY_DATA_TESTER, bobbuilderbuildpluginDepenedencyDataTesterClass)) |
| 108 | +#define BOB_BUILDER_BUILD_PLUGIN_IS_DEPENEDENCY_DATA_TESTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOB_BUILDER_BUILD_PLUGIN_TYPE_DEPENEDENCY_DATA_TESTER)) |
| 109 | +#define BOB_BUILDER_BUILD_PLUGIN_IS_DEPENEDENCY_DATA_TESTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOB_BUILDER_BUILD_PLUGIN_TYPE_DEPENEDENCY_DATA_TESTER)) |
| 110 | +#define BOB_BUILDER_BUILD_PLUGIN_DEPENEDENCY_DATA_TESTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOB_BUILDER_BUILD_PLUGIN_TYPE_DEPENEDENCY_DATA_TESTER, bobbuilderbuildpluginDepenedencyDataTesterClass)) |
| 111 | + |
| 112 | +typedef struct _bobbuilderbuildpluginDepenedencyDataTester bobbuilderbuildpluginDepenedencyDataTester; |
| 113 | +typedef struct _bobbuilderbuildpluginDepenedencyDataTesterClass bobbuilderbuildpluginDepenedencyDataTesterClass; |
| 114 | +typedef struct _bobbuilderbuildpluginDepenedencyDataTesterPrivate bobbuilderbuildpluginDepenedencyDataTesterPrivate; |
| 115 | + |
104 | 116 | struct _bobbuilderbuildpluginBuildApplicationPlugin {
|
105 | 117 | bobbuilderbuildpluginAbstractBobBuildPlugin parent_instance;
|
106 | 118 | bobbuilderbuildpluginBuildApplicationPluginPrivate * priv;
|
@@ -151,14 +163,12 @@ typedef enum {
|
151 | 163 | } bobbuilderbuildpluginCompilationError;
|
152 | 164 | #define BOB_BUILDER_BUILD_PLUGIN_COMPILATION_ERROR bob_builder_build_plugin_compilation_error_quark ()
|
153 | 165 | struct _bobbuilderbuildpluginValaCodeCompiler {
|
154 |
| - GTypeInstance parent_instance; |
155 |
| - volatile int ref_count; |
| 166 | + ValaCodeVisitor parent_instance; |
156 | 167 | bobbuilderbuildpluginValaCodeCompilerPrivate * priv;
|
157 | 168 | };
|
158 | 169 |
|
159 | 170 | struct _bobbuilderbuildpluginValaCodeCompilerClass {
|
160 |
| - GTypeClass parent_class; |
161 |
| - void (*finalize) (bobbuilderbuildpluginValaCodeCompiler *self); |
| 171 | + ValaCodeVisitorClass parent_class; |
162 | 172 | };
|
163 | 173 |
|
164 | 174 | struct _bobbuilderbuildpluginValaCodeCompilerOutcome {
|
@@ -194,6 +204,15 @@ struct _bobbuilderbuildpluginCCOptionsClass {
|
194 | 204 | void (*finalize) (bobbuilderbuildpluginCCOptions *self);
|
195 | 205 | };
|
196 | 206 |
|
| 207 | +struct _bobbuilderbuildpluginDepenedencyDataTester { |
| 208 | + ValaCodeVisitor parent_instance; |
| 209 | + bobbuilderbuildpluginDepenedencyDataTesterPrivate * priv; |
| 210 | +}; |
| 211 | + |
| 212 | +struct _bobbuilderbuildpluginDepenedencyDataTesterClass { |
| 213 | + ValaCodeVisitorClass parent_class; |
| 214 | +}; |
| 215 | + |
197 | 216 |
|
198 | 217 | GType bob_builder_build_plugin_build_application_plugin_get_type (void) G_GNUC_CONST;
|
199 | 218 | bobbuilderbuildpluginBuildApplicationPlugin* bob_builder_build_plugin_build_application_plugin_new (void);
|
@@ -284,12 +303,6 @@ void bob_builder_build_plugin_build_configuration_library_usage_builder_set_vapi
|
284 | 303 | bobbuilderrecipeprojectBobBuildProjectDependencyScope bob_builder_build_plugin_build_configuration_library_usage_builder_get_scope (bobbuilderbuildpluginBuildConfigurationLibraryUsageBuilder* self);
|
285 | 304 | void bob_builder_build_plugin_build_configuration_library_usage_builder_set_scope (bobbuilderbuildpluginBuildConfigurationLibraryUsageBuilder* self, bobbuilderrecipeprojectBobBuildProjectDependencyScope value);
|
286 | 305 | GQuark bob_builder_build_plugin_compilation_error_quark (void);
|
287 |
| -gpointer bob_builder_build_plugin_vala_code_compiler_ref (gpointer instance); |
288 |
| -void bob_builder_build_plugin_vala_code_compiler_unref (gpointer instance); |
289 |
| -GParamSpec* bob_builder_build_plugin_param_spec_vala_code_compiler (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags); |
290 |
| -void bob_builder_build_plugin_value_set_vala_code_compiler (GValue* value, gpointer v_object); |
291 |
| -void bob_builder_build_plugin_value_take_vala_code_compiler (GValue* value, gpointer v_object); |
292 |
| -gpointer bob_builder_build_plugin_value_get_vala_code_compiler (const GValue* value); |
293 | 306 | GType bob_builder_build_plugin_vala_code_compiler_get_type (void) G_GNUC_CONST;
|
294 | 307 | bobbuilderbuildpluginValaCodeCompiler* bob_builder_build_plugin_vala_code_compiler_new (bobbuilderbuildpluginBuildConfiguration* buildConfiguration);
|
295 | 308 | bobbuilderbuildpluginValaCodeCompiler* bob_builder_build_plugin_vala_code_compiler_construct (GType object_type, bobbuilderbuildpluginBuildConfiguration* buildConfiguration);
|
@@ -336,6 +349,10 @@ void bob_builder_build_plugin_cc_options_addCHeadersDirectoryLocation (bobbuilde
|
336 | 349 | void bob_builder_build_plugin_cc_options_useLibrary (bobbuilderbuildpluginCCOptions* self, const gchar* name);
|
337 | 350 | void bob_builder_build_plugin_cc_options_addDebugFlag (bobbuilderbuildpluginCCOptions* self);
|
338 | 351 | gchar** bob_builder_build_plugin_cc_options_getCcOptions (bobbuilderbuildpluginCCOptions* self, int* result_length1);
|
| 352 | +GType bob_builder_build_plugin_depenedency_data_tester_get_type (void) G_GNUC_CONST; |
| 353 | +bobbuilderbuildpluginDepenedencyDataTester* bob_builder_build_plugin_depenedency_data_tester_new (const gchar* package, const gchar* vapiFilePath); |
| 354 | +bobbuilderbuildpluginDepenedencyDataTester* bob_builder_build_plugin_depenedency_data_tester_construct (GType object_type, const gchar* package, const gchar* vapiFilePath); |
| 355 | +void bob_builder_build_plugin_depenedency_data_tester_test (bobbuilderbuildpluginDepenedencyDataTester* self); |
339 | 356 |
|
340 | 357 |
|
341 | 358 | G_END_DECLS
|
|
0 commit comments