1 /* 2 * This library is free software; you can redistribute it and/or 3 * modify it under the terms of the GNU Lesser General Public 4 * License as published by the Free Software Foundation; either 5 * version 2.1 of the License, or (at your option) any later version. 6 * 7 * This library is distributed in the hope that it will be useful, 8 * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 10 * Lesser General Public License for more details. 11 * 12 * You should have received a copy of the GNU Lesser General Public 13 * License along with this library; if not, write to the Free Software 14 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 15 */ 16 17 #ifndef __GNOME_INSTALLER__ 18 #define __GNOME_INSTALLER__ 19 20 #include <glib.h> 21 #include <gio/gio.h> 22 23 typedef void (* GnomeInstallerClientCallback) (gboolean success, 24 gpointer user_data); 25 26 void gnome_installer_install_packages (const gchar **packages, 27 GnomeInstallerClientCallback callback, 28 gpointer user_data); 29 30 void gnome_installer_check_for_packages (const gchar **packages, 31 GnomeInstallerClientCallback callback, 32 gpointer user_data); 33 34 #endif