65 |
/** Property representing the maximum channel volume (in percents). */ |
/** Property representing the maximum channel volume (in percents). */ |
66 |
public final static String MAXIMUM_CHANNEL_VOLUME = "maximumChannelVolume"; |
public final static String MAXIMUM_CHANNEL_VOLUME = "maximumChannelVolume"; |
67 |
|
|
68 |
|
/** Property which specifies whether the user should confirm channel removals. */ |
69 |
|
public final static String CONFIRM_CHANNEL_REMOVAL = "confirmChannelRemoval"; |
70 |
|
|
71 |
|
/** Property which specifies whether the user should confirm audio/MIDI device removals. */ |
72 |
|
public final static String CONFIRM_DEVICE_REMOVAL = "confirmDeviceRemoval"; |
73 |
|
|
74 |
|
/** Property which specifies whether the user should confirm quiting. */ |
75 |
|
public final static String CONFIRM_APP_QUIT = "confirmAppQuit"; |
76 |
|
|
77 |
|
|
78 |
/** |
/** |
79 |
* Creates a new instance of <code>StdPrefs</code>. |
* Creates a new instance of <code>StdPrefs</code>. |
110 |
|
|
111 |
public boolean |
public boolean |
112 |
getDefaultBoolValue(String name) { |
getDefaultBoolValue(String name) { |
113 |
|
if(name == CONFIRM_CHANNEL_REMOVAL) return true; |
114 |
|
if(name == CONFIRM_DEVICE_REMOVAL) return true; |
115 |
|
if(name == CONFIRM_APP_QUIT) return true; |
116 |
if(name == SAVE_LS_CONSOLE_HISTORY) return true; |
if(name == SAVE_LS_CONSOLE_HISTORY) return true; |
117 |
if(name == USE_CHANNEL_DEFAULTS) return true; |
if(name == USE_CHANNEL_DEFAULTS) return true; |
118 |
|
|