Debian Codegraph @

src/qmi-firmware-update/qfu-image-factory.h

raw
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * qmi-firmware-update -- Command line tool to update firmware in QMI devices
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 2 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 * Copyright (C) 2016 Bjørn Mork <[email protected]>
19 * Copyright (C) 2016 Zodiac Inflight Innovations
20 * Copyright (C) 2016-2017 Aleksander Morgado <[email protected]>
21 */
22
23 #ifndef QFU_IMAGE_FACTORY_H
24 #define QFU_IMAGE_FACTORY_H
25
26 #include <glib-object.h>
27 #include <gio/gio.h>
28
29 #include "qfu-image.h"
30 #include "qfu-image-cwe.h"
31
32 G_BEGIN_DECLS
33
34 QfuImage *qfu_image_factory_build (GFile *file,
35 GCancellable *cancellable,
36 GError **error);
37
38 G_END_DECLS
39
40 #endif /* QFU_IMAGE_H */