コード例 #1
0
        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;
            }
        }
コード例 #2
0
        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;
            }
        }
コード例 #3
0
        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;
            }
        }
コード例 #4
0
ファイル: ROMEngine.cs プロジェクト: fedor4ever/CrashAnalyser
        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;
            }
        }
コード例 #5
0
 private void SymbolEngine_ObserverProxy(SymbianUtils.AsyncReaderBase.TEvent aEvent, SymbianUtils.AsyncReaderBase aSender)
 {
     if (Observer != null)
     {
         Observer(aEvent, aSender);
     }
 }