build-basic-autotools:bgo#688293 - build-basic-autotools: Fix invalid read
[anjuta.git] / libanjuta / anjuta-pkg-scanner.h
blob2e036f9fe29b0c300ab0947623dde676f5f65d3c
1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
2 /*
3 * anjuta
4 * Copyright (C) Johannes Schmid 2011 <jhs@Obelix>
5 *
6 * anjuta is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * anjuta is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 * See the GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef _ANJUTA_PKG_SCANNER_H_
21 #define _ANJUTA_PKG_SCANNER_H_
23 #include <libanjuta/anjuta-async-command.h>
25 G_BEGIN_DECLS
27 #define ANJUTA_TYPE_PKG_SCANNER (anjuta_pkg_scanner_get_type ())
28 #define ANJUTA_PKG_SCANNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ANJUTA_TYPE_PKG_SCANNER, AnjutaPkgScanner))
29 #define ANJUTA_PKG_SCANNER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ANJUTA_TYPE_PKG_SCANNER, AnjutaPkgScannerClass))
30 #define ANJUTA_IS_PKG_SCANNER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ANJUTA_TYPE_PKG_SCANNER))
31 #define ANJUTA_IS_PKG_SCANNER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ANJUTA_TYPE_PKG_SCANNER))
32 #define ANJUTA_PKG_SCANNER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ANJUTA_TYPE_PKG_SCANNER, AnjutaPkgScannerClass))
34 typedef struct _AnjutaPkgScannerClass AnjutaPkgScannerClass;
35 typedef struct _AnjutaPkgScanner AnjutaPkgScanner;
36 typedef struct _AnjutaPkgScannerPrivate AnjutaPkgScannerPrivate;
38 struct _AnjutaPkgScannerClass
40 AnjutaAsyncCommandClass parent_class;
44 struct _AnjutaPkgScanner
46 AnjutaAsyncCommand parent_instance;
48 AnjutaPkgScannerPrivate* priv;
51 GType anjuta_pkg_scanner_get_type (void) G_GNUC_CONST;
52 AnjutaCommand* anjuta_pkg_scanner_new (const gchar* package, const gchar* version);
53 const gchar* anjuta_pkg_scanner_get_package (AnjutaPkgScanner* scanner);
54 const gchar* anjuta_pkg_scanner_get_version (AnjutaPkgScanner* scanner);
55 GList* anjuta_pkg_scanner_get_files (AnjutaPkgScanner* scanner);
58 G_END_DECLS
60 #endif /* _ANJUTA_PKG_SCANNER_H_ */