Debian Codegraph @

lib/packagekit-glib2/pk-progress-private.h

raw
1 /*
2 * Copyright 2025 Corentin Noël <[email protected]>
3 *
4 * Licensed under the GNU Lesser General Public License Version 2.1
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21 #if !defined (__PACKAGEKIT_H_INSIDE__) && !defined (PK_COMPILATION)
22 #error "Only <packagekit.h> can be included directly."
23 #endif
24
25 #ifndef __PK_PROGRESS_PRIVATE_H
26 #define __PK_PROGRESS_PRIVATE_H
27
28 #include <glib-object.h>
29 #include <packagekit-glib2/pk-progress.h>
30
31 G_BEGIN_DECLS
32
33 PkProgress *pk_progress_new_with_callback (PkProgressCallback callback,
34 gpointer user_data);
35
36 G_END_DECLS
37
38 #endif /* __PK_PROGRESS_PRIVATE_H */