library/packages/doc/index.html
<html><head>
<title>Packages Manipulation</title>
</head><body bgcolor=#ffffff>
<!-- Author: Michal Svec <msvec@suse.cz> -->
<!-- $Id$ -->
<h1>Packages Manipulation</h1>
<hr>
<p>
This is a set of basic routines for manipulating packages.
</p>
<p>
Authors: Martin Vidner <<a href="mailto:mvidner@suse.czi">mvidner@suse.cz</a>>,
Michal Svec <<a href="mailto:msvec@suse.czi">msvec@suse.cz</a>>.
</p>
<!-- MODULES -->
<h2>Modules</h2>
<p>
The module <b>Package</b> is the default one, it should work on the target
system (it correctly differentiates between normal and autoinstallaton mode).
</p>
<p>
<b>PackageSystem</b> is for situations when you need immediate action
(for example to start the client).
</p>
<ul>
<li>Package
<li>PackageSystem
</ul>
<!-- INTRODUCTION -->
<h2>Functions</h2>
<p>
The function names should be self-descriptive, so
there are no comments here. Feel free to ask if
you are in doubts.
</p>
<h3>Package Installation (GUI)</h3>
<ul>
<li>boolean Install(<string> package);
<li>boolean InstallAll(list<<string>> packages);
<li>boolean InstallAny(list<<string>> packages);
<li>boolean Remove(<string> package);
<li>boolean RemoveAll(list<<string>> packages);
</ul>
<h3>Package Installation (GUI, custom message)</h3>
<ul>
<li>boolean InstallMsg(<string> package, <string> message);
<li>boolean InstallAllMsg(list<<string>> packages, <string> message);
<li>boolean InstallAnyMsg(list<<string>> packages, <string> message);
<li>boolean RemoveMsg(<string> package, <string> message);
<li>boolean RemoveAllMsg(list<<string>> packages, <string> message);
</ul>
<h3>Package Installation (GUI, do not install if Mode::config,
only in PackageSystem)</h3>
<ul>
<li>boolean CheckAndInstallPackages (list<<string>> packages);
<li>boolean CheckAndInstallPackagesInteractive (list<<string>> packages);
// with error handling
</ul>
<h3>Packages Installation (No GUI)</h3>
<ul>
<li>boolean DoInstall(list<<string>> packages);
<li>boolean DoRemove(list<<string>> packages);
<li>boolean DoInstallAndRemove(list<<string>> toinstall, list<<string>> toremove);
</ul>
<h3>Testing</h3>
<ul>
<li>boolean Available(<string> package);
<li>boolean AvailableAll(list<<string>> packages);
<li>boolean AvailableAny(list<<string>> packages);
<li>boolean Installed(<string> package);
<li>boolean InstalledAll(list<<string>> packages);
<li>boolean InstalledAny(list<<string>> packages);
</ul>
<h3>Other</h3>
<ul>
<li>boolean LastOperationCanceled();
<li>boolean InstallKernel (list<<string>> kernel_modules);
</ul>
<h3>Errors (not yet available)</h3>
<ul>
<li><string> Error();
</ul>
<a href="autodocs/index.html">Auto-Generated Documentation</a>
</body></html>