59 |
/** Property which specifies whether the LS Console should be shown when script is run. */ |
/** Property which specifies whether the LS Console should be shown when script is run. */ |
60 |
public final static String SHOW_LS_CONSOLE_WHEN_RUN_SCRIPT = "showLSConsoleWhenRunScript"; |
public final static String SHOW_LS_CONSOLE_WHEN_RUN_SCRIPT = "showLSConsoleWhenRunScript"; |
61 |
|
|
62 |
|
/** Property representing the maximum master volume (in percents). */ |
63 |
|
public final static String MAXIMUM_MASTER_VOLUME = "maximumMasterVolume"; |
64 |
|
|
65 |
|
/** Property representing the maximum channel volume (in percents). */ |
66 |
|
public final static String MAXIMUM_CHANNEL_VOLUME = "maximumChannelVolume"; |
67 |
|
|
68 |
|
|
69 |
/** |
/** |
70 |
* Creates a new instance of <code>StdPrefs</code>. |
* Creates a new instance of <code>StdPrefs</code>. |
93 |
if(name == DEFAULT_CHANNEL_VOLUME) return 100; |
if(name == DEFAULT_CHANNEL_VOLUME) return 100; |
94 |
if(name == LS_CONSOLE_HISTSIZE) return 1000; |
if(name == LS_CONSOLE_HISTSIZE) return 1000; |
95 |
if(name == RECENT_LSCP_SCRIPTS_SIZE) return 7; |
if(name == RECENT_LSCP_SCRIPTS_SIZE) return 7; |
96 |
|
if(name == MAXIMUM_MASTER_VOLUME) return 100; |
97 |
|
if(name == MAXIMUM_CHANNEL_VOLUME) return 100; |
98 |
|
|
99 |
return super.getDefaultIntValue(name); |
return super.getDefaultIntValue(name); |
100 |
} |
} |