aboutsummaryrefslogtreecommitdiff
path: root/paludis/fs_merger.hh
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-05-11 14:50:42 -0700
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-05-18 14:07:32 -0700
commit26ad9436f05992068b94588fa1692f5a0d2ddb5a (patch)
tree73845ea28d328db8e0e449d110d4453aa9b974cf /paludis/fs_merger.hh
parent37ab3e8fce69a97252e371576ddc423eefa3e983 (diff)
downloadpaludis-26ad9436f05992068b94588fa1692f5a0d2ddb5a.tar.gz
paludis-26ad9436f05992068b94588fa1692f5a0d2ddb5a.tar.xz
merger: refactor make_arrows
make_arrows is used to generate indicators for FS mergers. The arrows that are generated are similar for all FS mergers. Permit overriding of the arrow generation in the future if necessary by making the method virtual and hoist it into the base class FSMerger so that it may be shared across the VDB merger as well as the NDBAM merger. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
Diffstat (limited to 'paludis/fs_merger.hh')
-rw-r--r--paludis/fs_merger.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/paludis/fs_merger.hh b/paludis/fs_merger.hh
index 008417181..e9bde0f0c 100644
--- a/paludis/fs_merger.hh
+++ b/paludis/fs_merger.hh
@@ -228,6 +228,8 @@ namespace paludis
///\}
+ virtual std::string make_arrows(const FSMergerStatusFlags & flags) const;
+
public:
///\name Basic operations
///\{