| Submitter | Dongxiao Xu |
|---|---|
| Date | Jan. 13, 2012, 8:30 a.m. |
| Message ID | <31f3e12c3be8d6cbcf1794471dcd43e99975f7a6.1326442655.git.dongxiao.xu@intel.com> |
| Download | mbox | patch |
| Permalink | /patch/19261/ |
| State | Accepted |
| Commit | 9020c2d4476766f63ff7e024bbd99043d06feefc |
| Headers | show |
Comments
Patch
diff --git a/lib/bb/event.py b/lib/bb/event.py index 8d7f941..10036c0 100644 --- a/lib/bb/event.py +++ b/lib/bb/event.py @@ -467,3 +467,16 @@ class LogHandler(logging.Handler): def filter(self, record): record.taskpid = worker_pid return True + +class RequestPackageInfo(Event): + """ + Event to request package information + """ + +class PackageInfo(Event): + """ + Package information for GUI + """ + def __init__(self, pkginfolist): + Event.__init__(self) + self._pkginfolist = pkginfolist
RequestPackageInfo is triggered by GUI client to request the available package information. PackageInfo event is to pass package information back to GUI. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> --- lib/bb/event.py | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-)