3
* Copyright (C) 2015 Christian Hergert <christian@hergert.me>
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation, either version 3 of the License, or
8
* (at your option) any later version.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
#ifndef IDE_BUILD_SYSTEM_H
20
#define IDE_BUILD_SYSTEM_H
24
#include "ide-object.h"
28
#define IDE_TYPE_BUILD_SYSTEM (ide_build_system_get_type())
30
G_DECLARE_INTERFACE (IdeBuildSystem, ide_build_system, IDE, BUILD_SYSTEM, IdeObject)
32
struct _IdeBuildSystemInterface
34
GTypeInterface parent_iface;
36
gint (*get_priority) (IdeBuildSystem *system);
37
IdeBuilder *(*get_builder) (IdeBuildSystem *system,
41
void (*get_build_flags_async) (IdeBuildSystem *self,
43
GCancellable *cancellable,
44
GAsyncReadyCallback callback,
46
gchar **(*get_build_flags_finish) (IdeBuildSystem *self,
51
gint ide_build_system_get_priority (IdeBuildSystem *self);
52
void ide_build_system_get_build_flags_async (IdeBuildSystem *self,
54
GCancellable *cancellable,
55
GAsyncReadyCallback callback,
57
gchar **ide_build_system_get_build_flags_finish (IdeBuildSystem *self,
60
void ide_build_system_new_async (IdeContext *context,
62
GCancellable *cancellable,
63
GAsyncReadyCallback callback,
65
IdeBuildSystem *ide_build_system_new_finish (GAsyncResult *result,
67
IdeBuilder *ide_build_system_get_builder (IdeBuildSystem *system,
74
#endif /* IDE_BUILD_SYSTEM_H */