From: <ste...@us...> - 2011-02-15 16:07:36
|
Revision: 4117 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=4117&view=rev Author: steve44src Date: 2011-02-15 16:07:30 +0000 (Tue, 15 Feb 2011) Log Message: ----------- Modified Paths: -------------- trunk/plugins/MP4IPSymcon/MP4IPSymcon/IPSWindow.cs Modified: trunk/plugins/MP4IPSymcon/MP4IPSymcon/IPSWindow.cs =================================================================== --- trunk/plugins/MP4IPSymcon/MP4IPSymcon/IPSWindow.cs 2011-02-15 16:04:36 UTC (rev 4116) +++ trunk/plugins/MP4IPSymcon/MP4IPSymcon/IPSWindow.cs 2011-02-15 16:07:30 UTC (rev 4117) @@ -15,7 +15,7 @@ using MediaPortal.GUI.Pictures; using MediaPortal.Util; using MediaPortal.Configuration; -using GCollections; +//using GCollections; namespace MP4IPSymcon { @@ -75,8 +75,8 @@ observer.OnUpdateVar(id); // initial state } - HashMap<int, List<Observer>> observers = new HashMap<int, List<Observer>>(); - HashMap<int, ClickHandler> buttons = new HashMap<int, ClickHandler>(); + Dictionary<int, List<Observer>> observers = new Dictionary<int, List<Observer>>(); + Dictionary<int, ClickHandler> buttons = new Dictionary<int, ClickHandler>(); bool scannedPage = false; @@ -98,8 +98,8 @@ return; } // clear maps - foreach( int i in observers.Keys ) observers.Remove(i); - foreach( int i in buttons.Keys ) buttons.Remove(i); + observers.Clear(); + buttons.Clear(); Log.Debug( "scanning controls"); foreach (GUIControl control in this.Children) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |