diff options
Diffstat (limited to 'bitbake/lib/bb/event.py')
-rw-r--r-- | bitbake/lib/bb/event.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py index c2bacc50c2..ad53ba015c 100644 --- a/bitbake/lib/bb/event.py +++ b/bitbake/lib/bb/event.py | |||
@@ -324,6 +324,25 @@ class ParseProgress(Event): | |||
324 | def __init__(self, current): | 324 | def __init__(self, current): |
325 | self.current = current | 325 | self.current = current |
326 | 326 | ||
327 | class CacheLoadStarted(Event): | ||
328 | """Loading of the dependency cache has begun""" | ||
329 | def __init__(self, total): | ||
330 | Event.__init__(self) | ||
331 | self.total = total | ||
332 | |||
333 | class CacheLoadProgress(Event): | ||
334 | """Cache loading progress""" | ||
335 | def __init__(self, current): | ||
336 | Event.__init__(self) | ||
337 | self.current = current | ||
338 | |||
339 | class CacheLoadCompleted(Event): | ||
340 | """Cache loading is complete""" | ||
341 | def __init__(self, total, num_entries): | ||
342 | Event.__init__(self) | ||
343 | self.total = total | ||
344 | self.num_entries = num_entries | ||
345 | |||
327 | class DepTreeGenerated(Event): | 346 | class DepTreeGenerated(Event): |
328 | """ | 347 | """ |
329 | Event when a dependency tree has been generated | 348 | Event when a dependency tree has been generated |