root/trunk/third/nautilus/components/services/install/lib/eazel-install-logic.h @ 15547

Revision 15547, 2.7 KB (checked in by ghudson, 9 years ago)

This commit was generated by cvs2svn to compensate for changes in r15546,
which included commits to RCS files with non-trunk default branches.

Line 
1/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2/*
3 * Copyright (C) 2000 Eazel, Inc
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (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 GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
19 *
20 * Authors: J Shane Culpepper <pepper@eazel.com>
21 */
22
23/* eazel-install - services command line install/update/uninstall
24 * component.  This program will parse the eazel-services-config.xml
25 * file and install a services generated package-list.xml.
26 */
27
28#ifndef EAZEL_INSTALL_LOGIC_H
29#define EAZEL_INSTALL_LOGIC_H
30
31#include "eazel-package-system-types.h"
32#include "eazel-install-protocols.h"
33#include "eazel-install-public.h"
34#include <eazel-package-system.h>
35
36gboolean eazel_install_start_signal (EazelPackageSystem *system,
37                                     EazelPackageSystemOperation op,
38                                     const PackageData *pack,
39                                     EazelInstall *service);
40gboolean eazel_install_end_signal (EazelPackageSystem *system,
41                                   EazelPackageSystemOperation op,
42                                   const PackageData *pack,
43                                   EazelInstall *service);
44gboolean  eazel_install_progress_signal (EazelPackageSystem *system,
45                                         EazelPackageSystemOperation op,
46                                         const PackageData *pack,
47                                         unsigned long *info,
48                                         EazelInstall *service);
49gboolean eazel_install_failed_signal (EazelPackageSystem *system,
50                                      EazelPackageSystemOperation op,
51                                      const PackageData *pack,
52                                      EazelInstall *service);
53
54EazelInstallOperationStatus ei_install_packages (EazelInstall *service, GList *categories);
55EazelInstallOperationStatus ei_uninstall_packages (EazelInstall *service, GList *categories);
56EazelInstallOperationStatus ei_revert_transaction (EazelInstall *service, GList *packages);
57
58gboolean eazel_install_prepare_package_system (EazelInstall *service);
59gboolean eazel_install_free_package_system (EazelInstall *service);
60
61unsigned long eazel_install_get_total_size_of_packages (EazelInstall *service,
62                                                        const GList *packages);
63void eazel_install_do_transaction_add_to_transaction (EazelInstall *service,
64                                                      PackageData *pack);
65gboolean eazel_install_check_if_related_package (EazelInstall *service,
66                                                 PackageData *package,
67                                                 PackageData *dep);
68
69#endif /* EAZEL_INSTALL_LOGIC_H */
Note: See TracBrowser for help on using the browser.