diff --git a/tracking/interfaces.py b/tracking/interfaces.py index ab08571..8e37e14 100644 --- a/tracking/interfaces.py +++ b/tracking/interfaces.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2008 Helmut Merz helmutm@cy55.de +# Copyright (c) 2014 Helmut Merz helmutm@cy55.de # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,8 +18,6 @@ """ Interface definitions for tracking of user interactions. - -$Id$ """ from zope.interface import Interface, Attribute @@ -50,6 +48,12 @@ class ITrack(Interface): # """ Return the internal name (ID) of the track. # """ + def update(newData, overwrite=False): + """ Update the track with new data, by default creating a new + track. Overwrite the existing track if the corresponding + flag is set. + """ + class ITrackingStorage(Interface): """ A utility for storing user tracks.