| Index: grit/gather/interface.py
|
| diff --git a/grit/gather/interface.py b/grit/gather/interface.py
|
| index e2e91d87425199556eb7135f68daa5799737158f..02daa0fa85f8a73284c68f8606ed7c3897b0bdb6 100644
|
| --- a/grit/gather/interface.py
|
| +++ b/grit/gather/interface.py
|
| @@ -33,6 +33,17 @@ class GathererBase(object):
|
| '''
|
| pass
|
|
|
| + def SetDefines(self, defines):
|
| + '''Sets global defines used by the gatherer.
|
| +
|
| + By default, this does nothing. If special handling is desired, it should be
|
| + overridden by the child gatherer.
|
| +
|
| + Args:
|
| + defines: The mapping of define values.
|
| + '''
|
| + pass
|
| +
|
| def SetUberClique(self, uberclique):
|
| '''Overrides the default uberclique so that cliques created by this object
|
| become part of the uberclique supplied by the user.
|
| @@ -49,6 +60,12 @@ class GathererBase(object):
|
| '''Parses the contents of what is being gathered.'''
|
| raise NotImplementedError()
|
|
|
| + def GetData(self, lang, encoding):
|
| + '''Returns the data to be added to the DataPack for this node or None if
|
| + this node does not add a DataPack entry.
|
| + '''
|
| + return None
|
| +
|
| def GetText(self):
|
| '''Returns the text of what is being gathered.'''
|
| raise NotImplementedError()
|
|
|