aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-01-02 02:44:47 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-01-02 02:44:47 +0000
commit92711652ec74135f3924c546bb387b363bd3444e (patch)
treea6118ab5d6790d683018478c0b161027ebd8e3b7
parentd7efa945288cbb5802b6b0d9c368e05be2360aea (diff)
downloadpaludis-92711652ec74135f3924c546bb387b363bd3444e.tar.gz
paludis-92711652ec74135f3924c546bb387b363bd3444e.tar.xz
fixx0r
-rw-r--r--paludis/repositories/gems/gem_specification.cc14
-rw-r--r--paludis/repositories/gems/gem_specification.hh5
2 files changed, 17 insertions, 2 deletions
diff --git a/paludis/repositories/gems/gem_specification.cc b/paludis/repositories/gems/gem_specification.cc
index f58177d..5ae4a92 100644
--- a/paludis/repositories/gems/gem_specification.cc
+++ b/paludis/repositories/gems/gem_specification.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2007 Ciaran McCreesh
+ * Copyright (c) 2007, 2008 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -444,6 +444,18 @@ GemSpecification::contained_in_key() const
return tr1::shared_ptr<const MetadataPackageIDKey>();
}
+const tr1::shared_ptr<const MetadataSizeKey>
+GemSpecification::size_of_download_required_key() const
+{
+ return tr1::shared_ptr<const MetadataSizeKey>();
+}
+
+const tr1::shared_ptr<const MetadataSizeKey>
+GemSpecification::size_of_all_distfiles_key() const
+{
+ return tr1::shared_ptr<const MetadataSizeKey>();
+}
+
bool
GemSpecification::arbitrary_less_than_comparison(const PackageID &) const
{
diff --git a/paludis/repositories/gems/gem_specification.hh b/paludis/repositories/gems/gem_specification.hh
index ceea649..ee1abfb 100644
--- a/paludis/repositories/gems/gem_specification.hh
+++ b/paludis/repositories/gems/gem_specification.hh
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2007 Ciaran McCreesh
+ * Copyright (c) 2007, 2008 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -111,6 +111,9 @@ namespace paludis
virtual const tr1::shared_ptr<const MetadataStringKey> source_origin_key() const;
virtual const tr1::shared_ptr<const MetadataStringKey> binary_origin_key() const;
+ virtual const tr1::shared_ptr<const MetadataSizeKey> size_of_download_required_key() const;
+ virtual const tr1::shared_ptr<const MetadataSizeKey> size_of_all_distfiles_key() const;
+
virtual bool supports_action(const SupportsActionTestBase &) const PALUDIS_ATTRIBUTE((warn_unused_result));
virtual void perform_action(Action &) const;