1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
4 * Copyright (C) Johannes Schmid 2011 <jhs@Obelix>
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 _CPP_PACKAGES_H_
21 #define _CPP_PACKAGES_H_
23 #include <libanjuta/anjuta-command-queue.h>
24 #include <libanjuta/anjuta-plugin.h>
28 #define CPP_TYPE_PACKAGES (cpp_packages_get_type ())
29 #define CPP_PACKAGES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CPP_TYPE_PACKAGES, CppPackages))
30 #define CPP_PACKAGES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CPP_TYPE_PACKAGES, CppPackagesClass))
31 #define CPP_IS_PACKAGES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CPP_TYPE_PACKAGES))
32 #define CPP_IS_PACKAGES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CPP_TYPE_PACKAGES))
33 #define CPP_PACKAGES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CPP_TYPE_PACKAGES, CppPackagesClass))
35 typedef struct _CppPackagesClass CppPackagesClass
;
36 typedef struct _CppPackages CppPackages
;
38 struct _CppPackagesClass
40 GObjectClass parent_class
;
45 GObject parent_instance
;
48 AnjutaCommandQueue
* queue
;
53 GType
cpp_packages_get_type (void) G_GNUC_CONST
;
54 CppPackages
* cpp_packages_new (AnjutaPlugin
* plugin
);
55 void cpp_packages_load (CppPackages
* packages
, gboolean force
);
59 #endif /* _CPP_PACKAGES_H_ */