#include <InstSrcDataUL.h>
Inheritance diagram for InstSrcDataUL:

Public Types | |
| typedef InstSrcError | Error |
Public Member Functions | |
| const std::list< PMSelectionPtr > & | getSelections () const |
| const std::list< PMPackagePtr > & | getPackages () const |
| const std::vector< PMYouPatchPtr > & | getPatches (void) const |
| virtual void | preferredLocaleChanged () const |
| void | reparsePackagesLang (ULParsePackagesLang &parser_r) const |
| void | adjustDpLangData (PMPackagePtr pkg_r, const ULParsePackagesLang::Entry &entry_r) const |
| InstSrcDataUL () | |
| ~InstSrcDataUL () | |
| virtual PMError | writeCache (const Pathname &cache_dir_r) const |
Static Public Member Functions | |
| static PMError | tryGetDescr (InstSrcDescrPtr &ndescr_r, MediaAccessPtr media_r, const Pathname &product_dir_r) |
| static PMError | tryGetData (const InstSrcPtr source, InstSrcDataPtr &ndata_r, MediaAccessPtr media_r, Pathname descr_dir_r, const std::list< PkgArch > &allowed_archs, const LangCode &locale) |
| static PMError | tryGetMediaId (const Url &url_r, const Pathname &product_dir_r, std::string &mediaId_r) |
Private Member Functions | |
| REP_BODY (InstSrcDataUL) | |
Static Private Member Functions | |
| static PMError | initDataCache (const Pathname &cache_dir_r, const InstSrcPtr source_r) |
Private Attributes | |
| std::list< PMSelectionPtr > | _selections |
| std::list< PMPackagePtr > | _packages |
Friends | |
| class | InstSrc |
|
|
default error class Reimplemented from InstSrcData. |
|
|
|
|
|
|
|
||||||||||||
|
On reparse new packages.lang adjust dataprovider |
|
|
generate PMPackage objects for each Item on the source/target
Reimplemented from InstSrcData. |
|
|
generate PMYouPatch objects for each patch on the target
Reimplemented from InstSrcData. |
|
|
generate PMSelection objects for each selection on the source
Reimplemented from InstSrcData. |
|
||||||||||||
|
If cache is not disabled, assert that it actualy contains data. If still empty, initialize cache from InstSrc's media. Called from tryGetData(). |
|
|
Triggered on change of preferredLocale Reimplemented from InstSrcData. |
|
|
|
|
|
On change of preferredLocale reparse new packages.lang |
|
||||||||||||||||||||||||||||
|
Any concrete InstSrcData must realize this, as it knows the expected layout on the media. Expect MediaAccessPtr to be open and attached. try to find selection/package/patch information on the media Return the InstSrcData retrieved from the media via ndata_r, or NULL and PMError set. |
|
||||||||||||||||
|
Any concrete InstSrcData must realize this, as it knows the expected layout on the media. Expect MediaAccessPtr to be open and attached. try to find product/content information on the media Return the InstSrcDescr retrieved from the media via ndescr_r, or NULL and PMError set. Reimplemented from InstSrcData. |
|
||||||||||||||||
|
Quick check whether we need to refresh the source. Return media ID laocated at url, or an empty string. |
|
|
Write data to cache. Reimplemented from InstSrcData. |
|
|
InstSrc triggers certain actions to perfom Reimplemented from InstSrcData. |
|
|
|
|
|
actual data for this InstSrc |
1.4.4