From 860f59e2a4a7a8daeb9683d6938986afc694cf6d Mon Sep 17 00:00:00 2001 From: necoro <> Date: Thu, 31 May 2007 19:45:22 +0000 Subject: Some interface changes Made qt-frontend work mostly with PyQt-4.2 --- portato/backend/system_interface.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'portato/backend/system_interface.py') 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. -- cgit v1.2.3-54-g00ecf