~ubuntu-branches/debian/stretch/gnome-builder/stretch

« back to all changes in this revision

Viewing changes to libide/ide-build-result.h

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2015-10-11 12:38:45 UTC
  • Revision ID: package-import@ubuntu.com-20151011123845-a0hvkz01se0p1p5a
Tags: upstream-3.16.3
ImportĀ upstreamĀ versionĀ 3.16.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ide-build-result.h
 
2
 *
 
3
 * Copyright (C) 2015 Christian Hergert <christian@hergert.me>
 
4
 *
 
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.
 
9
 *
 
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.
 
14
 *
 
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/>.
 
17
 */
 
18
 
 
19
#ifndef IDE_BUILD_RESULT_H
 
20
#define IDE_BUILD_RESULT_H
 
21
 
 
22
#include <gio/gio.h>
 
23
 
 
24
#include "ide-object.h"
 
25
 
 
26
G_BEGIN_DECLS
 
27
 
 
28
#define IDE_TYPE_BUILD_RESULT (ide_build_result_get_type())
 
29
 
 
30
G_DECLARE_DERIVABLE_TYPE (IdeBuildResult, ide_build_result, IDE, BUILD_RESULT, IdeObject)
 
31
 
 
32
struct _IdeBuildResultClass
 
33
{
 
34
  IdeObjectClass parent;
 
35
};
 
36
 
 
37
GInputStream  *ide_build_result_get_stdout_stream (IdeBuildResult *result);
 
38
GInputStream  *ide_build_result_get_stderr_stream (IdeBuildResult *result);
 
39
void           ide_build_result_log_subprocess    (IdeBuildResult *result,
 
40
                                                   GSubprocess    *subprocess);
 
41
void           ide_build_result_log_stdout        (IdeBuildResult *result,
 
42
                                                   const gchar    *format,
 
43
                                                   ...) G_GNUC_PRINTF (2, 3);
 
44
void           ide_build_result_log_stderr        (IdeBuildResult *result,
 
45
                                                   const gchar    *format,
 
46
                                                   ...) G_GNUC_PRINTF (2, 3);
 
47
 
 
48
G_END_DECLS
 
49
 
 
50
#endif /* IDE_BUILD_RESULT_H */