codepunkschmidt / lcdhost

Automatically exported from code.google.com/p/lcdhost
3 stars 0 forks source link

Plugins & Global Settings #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be very useful if plugins could register global settings with LCDHost, 
such that a new field would appear on thee system tab. Such settings would be 
accessible from the state() object, perhaps via a hash table.

E.g.: LH_Weather might register it's location as a global property. This would 
mean the weather connector no longer had this property and would make any 
layout created by anyone with a weather connector immediately pick up your 
setting, rather than you having to change it each time you download a layout.

Alternatively, a (rewritten) monitoring plugin might register a global property 
as "CPU Avg Temp - Source" with a choice of speedfan, aida, etc and "CPU Avg 
Temp - sensor index". This would allow a layout designer to add a "CPU 
Temperate bar" and know it will load the correct data regardless of system.

Original issue reported on code.google.com by a...@bridgesuk.com on 12 Mar 2011 at 2:12

GoogleCodeExporter commented 9 years ago
This is planned, but in a different form. Plugins will be able to create setup 
items, which will be visible on the plugin tab when the plugin is selected.

This may not raise their visibility to the level your looking for though.
OTOH, I'm still planning a "setup pane" or something on a per-layout basis, 
which would IMO be a better place for city and such.

Original comment by linkdata...@gmail.com on 13 Mar 2011 at 10:17

GoogleCodeExporter commented 9 years ago

Original comment by a...@bridgesuk.com on 9 May 2011 at 12:45

GoogleCodeExporter commented 9 years ago

Original comment by jo...@linkdata.se on 16 Jul 2011 at 12:11