/[svn]/jsampler/trunk/src/org/jsampler/view/std/StdPrefs.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/view/std/StdPrefs.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1687 by iliev, Mon Dec 3 23:22:02 2007 UTC revision 1688 by iliev, Thu Feb 14 16:52:36 2008 UTC
# Line 65  public class StdPrefs extends JSPrefs { Line 65  public class StdPrefs extends JSPrefs {
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>.
# Line 101  public class StdPrefs extends JSPrefs { Line 110  public class StdPrefs extends JSPrefs {
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                                    

Legend:
Removed from v.1687  
changed lines
  Added in v.1688

  ViewVC Help
Powered by ViewVC