diff options
author | necoro <> | 2007-05-31 19:45:22 +0000 |
---|---|---|
committer | necoro <> | 2007-05-31 19:45:22 +0000 |
commit | 860f59e2a4a7a8daeb9683d6938986afc694cf6d (patch) | |
tree | e8e9a0493ee6a7e2aff5c7f9a1c59fb73429d7e2 /portato/backend/system_interface.py | |
parent | db7e4fb5c77cff77617d28206722c9b7a72aaa04 (diff) | |
download | portato-860f59e2a4a7a8daeb9683d6938986afc694cf6d.tar.gz portato-860f59e2a4a7a8daeb9683d6938986afc694cf6d.tar.bz2 portato-860f59e2a4a7a8daeb9683d6938986afc694cf6d.zip |
Some interface changes
Made qt-frontend work mostly with PyQt-4.2
Diffstat (limited to '')
-rw-r--r-- | portato/backend/system_interface.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/portato/backend/system_interface.py b/portato/backend/system_interface.py index 40834f9..9af0b33 100644 --- a/portato/backend/system_interface.py +++ b/portato/backend/system_interface.py @@ -21,6 +21,18 @@ class SystemInterface: @rtype: string[]""" raise NotImplementedError + + def cpv_matches (self, cpv, criterion): + """Checks whether a cpv matches a specific criterion. + + @param cpv: cpv to check + @type cpv: string + @param criterion: criterion to check against + @type criterion: string + @returns: match result + @rtype: boolean""" + + raise NotImplementedError def find_best(self, list): """Returns the best package out of a list of packages. |