summaryrefslogtreecommitdiff
path: root/portato/gui/wrapper.py
diff options
context:
space:
mode:
Diffstat (limited to 'portato/gui/wrapper.py')
-rw-r--r--portato/gui/wrapper.py34
1 files changed, 34 insertions, 0 deletions
diff --git a/portato/gui/wrapper.py b/portato/gui/wrapper.py
index c7a5916..011c819 100644
--- a/portato/gui/wrapper.py
+++ b/portato/gui/wrapper.py
@@ -125,6 +125,26 @@ class Tree:
@rtype: boolean"""
raise NotImplementedError
+ def is_in_emerge (self, it):
+ """Checks whether an iterator is part of the "Update" section.
+
+ @param it: the iterator to check
+ @type it: Iterator
+ @returns: True if the iter is part; False otherwise
+ @rtype: boolean"""
+ raise NotImplementedError
+
+ def iter_equal (self, it, other_it):
+ """Checks whether to iterators are equal.
+
+ @param it: the one iterator to compare
+ @type it: Iterator
+ @param other_it: the other iterator to compare
+ @type other_it: Iterator
+ @returns: True if both iterators are equal; False otherwise
+ @rtype boolean"""
+ raise NotImplementedError
+
def get_emerge_it (self):
"""Returns an iterator signaling the top of the emerge section.
@@ -139,6 +159,20 @@ class Tree:
@rtype: Iterator"""
raise NotImplementedError
+ def get_update_it (self):
+ """Returns an iterator signaling the top of the update section.
+
+ @returns: unmerge-iterator
+ @rtype: Iterator"""
+ raise NotImplementedError
+
+ def set_in_progress (self, it):
+ """Marks the queue where the given iterator belongs as being in progress.
+
+ @param it: one iterator of the queue to mark to
+ @type it: Iterator"""
+ raise NotImplementedError
+
def build_append_value (self, cpv, oneshot = False, update = False, downgrade = False, version = None, useChange = []):
"""Builds the list, which is going to be passed to append.
81166dfe4765bcb8a05effc444e528&follow=1'>I don't want --help or --version in bash completion.Jason A. Donenfeld1-1/+1 2012-09-22Vastly simplify GPG secret key finding logic.Jason A. Donenfeld1-1/+1 - Only use secret keys - Use entire UID - --with-colons makes parsing easy 2012-09-22simplify logic slightlyBrian Mattern1-9/+12 2012-09-22turn -o filenames back onBrian Mattern1-10/+6 only auto-expand if there is a single completion match 2012-09-22bash completion - Fix UTF8, escape spaces, inverted commas, brackets, and ↵Jeffrey Ratcliffe1-14/+10 ampersands, and clean up 2012-09-21Better gpg key completion for `pass init`Brian Mattern1-2/+15 2012-09-21Append to COMPREPLY instead of inserting by indexBrian Mattern1-3/+1