aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/profile.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-18 21:44:01 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-18 21:44:01 +0000
commit8b8c70f3f119f796fe42a0c5e00f2f98b1cf6cb1 (patch)
treeb3ee0c36cae480b1e395ec043087f53af64060d9 /paludis/repositories/e/profile.hh
parent2aabc5117e700f24daaded891ec977ba1ca481e9 (diff)
downloadpaludis-8b8c70f3f119f796fe42a0c5e00f2f98b1cf6cb1.tar.gz
paludis-8b8c70f3f119f796fe42a0c5e00f2f98b1cf6cb1.tar.xz
Decouple
Diffstat (limited to 'paludis/repositories/e/profile.hh')
-rw-r--r--paludis/repositories/e/profile.hh18
1 files changed, 12 insertions, 6 deletions
diff --git a/paludis/repositories/e/profile.hh b/paludis/repositories/e/profile.hh
index 83d0cd9e9..6af822824 100644
--- a/paludis/repositories/e/profile.hh
+++ b/paludis/repositories/e/profile.hh
@@ -35,6 +35,7 @@
#include <paludis/repositories/e/e_repository_id.hh>
#include <paludis/repositories/e/mask_info.hh>
#include <string>
+#include <functional>
namespace paludis
{
@@ -42,6 +43,8 @@ namespace paludis
namespace erepository
{
+ typedef std::function<bool (const UnprefixedChoiceName &)> IsArchFlagFunction;
+
class PALUDIS_VISIBLE Profile
{
public:
@@ -110,14 +113,17 @@ namespace paludis
public:
const std::shared_ptr<Profile> create(
- const std::string &,
- const Environment * const,
- const ERepository * const,
+ const std::string & format,
+ const Environment * const env,
const RepositoryName &,
- const FSPathSequence &,
+ const EAPIForFileFunction & eapi_for_file,
+ const IsArchFlagFunction & is_arch_flag,
+ const FSPathSequence & dirs,
const std::string & arch_var_if_special,
- const bool profiles_explicitly_set)
- const PALUDIS_ATTRIBUTE((warn_unused_result));
+ const bool profiles_explicitly_set,
+ const bool has_master_repositories,
+ const bool ignore_deprecated_profiles
+ ) const PALUDIS_ATTRIBUTE((warn_unused_result));
};
}
}