aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/gentoo/ebuild_flat_metadata_cache.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-06-27 19:21:52 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-06-27 19:21:52 +0000
commit7e0e5a87926b77173ab057059394c463deac7b69 (patch)
treeff9cc1da484e72be33f9a8945cc13f61115a42e8 /paludis/repositories/gentoo/ebuild_flat_metadata_cache.hh
parent1e5290d4a82c9c83314a6c81aaad7324e12b5321 (diff)
downloadpaludis-7e0e5a87926b77173ab057059394c463deac7b69.tar.gz
paludis-7e0e5a87926b77173ab057059394c463deac7b69.tar.xz
r3606@snowflake: ciaranm | 2007-06-27 20:17:54 +0100
Switch to Package IDs. Known to be broken: CRAN, Gems, QA / qualudis, gtkpaludis, contrarius, Ruby, Python, paludis --query / inquisitio output
Diffstat (limited to 'paludis/repositories/gentoo/ebuild_flat_metadata_cache.hh')
-rw-r--r--paludis/repositories/gentoo/ebuild_flat_metadata_cache.hh61
1 files changed, 32 insertions, 29 deletions
diff --git a/paludis/repositories/gentoo/ebuild_flat_metadata_cache.hh b/paludis/repositories/gentoo/ebuild_flat_metadata_cache.hh
index e737e7647..6541bda3e 100644
--- a/paludis/repositories/gentoo/ebuild_flat_metadata_cache.hh
+++ b/paludis/repositories/gentoo/ebuild_flat_metadata_cache.hh
@@ -21,47 +21,50 @@
#define PALUDIS_GUARD_PALUDIS_REPOSITORIES_PORTAGE_EBUILD_FLAT_METADATA_CACHE_HH 1
#include <paludis/repositories/gentoo/ebuild.hh>
+#include <paludis/repositories/gentoo/ebuild_id.hh>
#include <paludis/util/fs_entry.hh>
-#include <paludis/version_metadata.hh>
#include <paludis/repositories/gentoo/eclass_mtimes.hh>
namespace paludis
{
- /**
- * Implements flat file metadata cache handling for a PortageRepository
- * using EbuildEntries.
- *
- * \see EbuildEntries
- * \see PortageRepository
- * \ingroup grpportagerepository
- * \nosubgrouping
- */
- class EbuildFlatMetadataCache
+ namespace erepository
{
- private:
- const FSEntry & _filename;
- const FSEntry & _ebuild;
- time_t _master_mtime;
- tr1::shared_ptr<const EclassMtimes> _eclass_mtimes;
- bool _silent;
+ /**
+ * Implements flat file metadata cache handling for a PortageRepository
+ * using EbuildEntries.
+ *
+ * \see EbuildEntries
+ * \see PortageRepository
+ * \ingroup grpportagerepository
+ * \nosubgrouping
+ */
+ class EbuildFlatMetadataCache
+ {
+ private:
+ const FSEntry & _filename;
+ const FSEntry & _ebuild;
+ time_t _master_mtime;
+ tr1::shared_ptr<const EclassMtimes> _eclass_mtimes;
+ bool _silent;
- public:
- ///\name Basic operations
- ///\{
+ public:
+ ///\name Basic operations
+ ///\{
- EbuildFlatMetadataCache(const FSEntry & filename, const FSEntry & ebuild,
- time_t master_mtime, tr1::shared_ptr<const EclassMtimes> eclass_mtimes, bool silent);
+ EbuildFlatMetadataCache(const FSEntry & filename, const FSEntry & ebuild,
+ time_t master_mtime, tr1::shared_ptr<const EclassMtimes> eclass_mtimes, bool silent);
- ///\}
+ ///\}
- ///\name Cache operations
- ///\{
+ ///\name Cache operations
+ ///\{
- bool load(tr1::shared_ptr<EbuildVersionMetadata>);
- void save(tr1::shared_ptr<const EbuildVersionMetadata>);
+ bool load(const tr1::shared_ptr<const EbuildID> &);
+ void save(const tr1::shared_ptr<const EbuildID> &);
- ///\}
- };
+ ///\}
+ };
+ }
}
#endif