|
Public Member Functions |
| ~PackageSystem () |
Element * | getElement (const std::string &elementName) throw (UnknownElementException) |
const std::list< Element * > & | getElements () |
Category * | getCategory (const std::string &categoryName) throw (UnknownCategoryException) |
const std::list< Category * > & | getCategorys () |
void | removeSet (const std::string &name) throw (UnknownElementException) |
| Remove a Set.
|
void | add (Element *package) throw (Util::NullPointerException, AlreadyExistingSetException) |
| Add an Element.
|
void | add (Category *category) throw (Util::NullPointerException, AlreadyExistingCategoryException) |
| Add a Category.
|
void | removeCategory (const std::string &name) throw (UnknownCategoryException) |
| Remove a Category.
|
Plugin::InstallerInterface * | install (const std::string url, std::map< std::string, std::string > installerOptions) throw (AlreadyExistingBranchException, Plugin::NoPluginHandlerException, UnknownCategoryException, UnknownSetException, UnknownElementException, UnknownBranchException, NoRightException) |
| Install a package.
|
void | uninstall (const std::string &elementName, const std::string &branchName="") throw (UnknownElementException) |
| Uninstall an Element.
|
Branch * | getBranchOfFile (const std::string &file) throw (FileNotFoundException) |
| Get the Branch of an installed file.
|
void | checkDependency (const std::string &elementName) throw (DependencyException) |
| Check Dependency of an element.
|
const std::string & | user () |
const std::string & | user () const |
Static Public Member Functions |
static boost::shared_ptr<
PackageSystem > | create (const std::string &userName) |
| Get a PackageSystem object.
|
Public Attributes |
boost::signal< void(Element *)> | signalNewElement )() |
boost::signal< void(Category *)> | signalNewCategory )() |
boost::signal< void(Plugin::InstallerInterface *)> | signalNewInstaller )() |
Friends |
class | Store |