aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2007-06-10 14:01:47 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2007-06-10 14:01:47 +0000
commitdd89ab69eada4c1e5bcda21eaa35e48bb3681d4f (patch)
tree4796ddc3e70835401cf2a23ae3079631b9c35e93
parent5e7afc46fcd9e8ffd87873e12d74fe6d12e95e2b (diff)
downloadpaludis-dd89ab69eada4c1e5bcda21eaa35e48bb3681d4f.tar.gz
paludis-dd89ab69eada4c1e5bcda21eaa35e48bb3681d4f.tar.xz
Add layout() to RepositoryPortageInterface.
-rw-r--r--paludis/repositories/gentoo/portage_repository.hh3
-rw-r--r--paludis/repository.hh6
2 files changed, 6 insertions, 3 deletions
diff --git a/paludis/repositories/gentoo/portage_repository.hh b/paludis/repositories/gentoo/portage_repository.hh
index 871fb0e..93aba82 100644
--- a/paludis/repositories/gentoo/portage_repository.hh
+++ b/paludis/repositories/gentoo/portage_repository.hh
@@ -190,9 +190,6 @@ namespace paludis
*/
void update_news() const;
- /**
- * Gives our current Layout
- */
const tr1::shared_ptr<const Layout> layout() const;
};
diff --git a/paludis/repository.hh b/paludis/repository.hh
index e0c2bd5..72d30aa 100644
--- a/paludis/repository.hh
+++ b/paludis/repository.hh
@@ -1127,6 +1127,7 @@ namespace paludis
};
class PortageRepositoryParams;
+ class Layout;
/**
* Interface for handling PortageRepository specific functionality.
@@ -1167,6 +1168,11 @@ namespace paludis
///\}
+ /**
+ * Gives our current Layout
+ */
+ virtual const tr1::shared_ptr<const Layout> layout() const = 0;
+
virtual ~RepositoryPortageInterface();
};