private void ParserEventHandler(SymbianUtils.AsyncReaderBase.TEvent aEvent, SymbianUtils.AsyncReaderBase aObject) { if (Observer != null) { Observer(aEvent, aObject); } if (aEvent == AsyncReaderBase.TEvent.EReadingComplete) { iActivatedSymbols.Sort(); iParser = null; } }
private void MapEngine_Observer(SymbianUtils.AsyncReaderBase.TEvent aEvent, SymbianUtils.AsyncReaderBase aSender) { System.Diagnostics.Debug.Assert(aSender.Tag is MapFileEngine); MapFileEngine engine = (MapFileEngine)aSender.Tag; // switch (aEvent) { case SymbianUtils.AsyncReaderBase.TEvent.EReadingStarted: OnParsingStarted(engine.MapFileName); break; case SymbianUtils.AsyncReaderBase.TEvent.EReadingProgress: OnParsingProgress(engine.MapFileName, aSender.Progress); break; case SymbianUtils.AsyncReaderBase.TEvent.EReadingComplete: OnParsingCompleted(engine.MapFileName); break; } }
private void Parser_Observer(SymbianUtils.AsyncReaderBase.TEvent aEvent, SymbianUtils.AsyncReaderBase aSender) { if (Observer != null) { Observer(aEvent, aSender); } if (aEvent == SymbianUtils.AsyncReaderBase.TEvent.EReadingComplete) { iMapFile.EnsureAllEntriesHaveSize(); iMapFile.Sort(); int x = 0; if (x != 0) { iMapFile.Dump(); } iParser = null; } }
private void SymbolEngine_Observer(SymbianUtils.AsyncReaderBase.TEvent aEvent, SymbianUtils.AsyncReaderBase aSender) { switch (aEvent) { case SymbianUtils.AsyncReaderBase.TEvent.EReadingStarted: OnParsingStarted(iEngineSymbol.SymbolFileName); break; case SymbianUtils.AsyncReaderBase.TEvent.EReadingProgress: OnParsingProgress(iEngineSymbol.SymbolFileName, aSender.Progress); break; case SymbianUtils.AsyncReaderBase.TEvent.EReadingComplete: OnParsingCompleted(iEngineSymbol.SymbolFileName); break; } }
private void SymbolEngine_ObserverProxy(SymbianUtils.AsyncReaderBase.TEvent aEvent, SymbianUtils.AsyncReaderBase aSender) { if (Observer != null) { Observer(aEvent, aSender); } }