Re: [Banshee-List] StartupServiceCount in ServiceManager.cs



If I recall, the +1 is for itself. ServiceManager is also an IService and should be accessible over DBus. As for no one using the property, who knows. It could be useful, I don't see a reason to remove it. Can anyone say splash screen!?

--Aaron

>>> Ruben Vermeersch <ruben savanne be> 01/29/08 7:23 AM >>>
In ServiceManager.cs [1], we have the following:

  public static int StartupServiceCount {
      get { return service_types.Count + (extension_nodes == null ? 0 :
extension_nodes.Count) + 1; }
  }

Where does this +1 come from? Also, this piece of code is unused, has it
become obsolete or will it serve a purpose in the near future?

   Ruben

[1] Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs +200



--
Ruben Vermeersch (rubenv)
http://www.savanne.be
_______________________________________________
Banshee-list mailing list
Banshee-list gnome org
http://mail.gnome.org/mailman/listinfo/banshee-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]