public static PluginSettings CreateDefaultSettings()
            {
                PluginSettings instance = new PluginSettings
                {
                    LongKeypressTime   = LONG_KEYPRESS_LENGTH_MS.ToString(),
                    PlaySoundOnSet     = false,
                    PlaybackDevices    = null,
                    PlaybackDevice     = String.Empty,
                    PlaySoundOnSetFile = String.Empty
                };

                return(instance);
            }
예제 #2
0
            public static PluginSettings CreateDefaultSettings()
            {
                PluginSettings instance = new PluginSettings
                {
                    ServerInfoExists = false,
                    ShortPressAction = RecordingAction.START_STOP,
                    LongPressAction  = RecordingAction.PAUSE_RESUME,
                    LongKeypressTime = LONG_KEYPRESS_LENGTH_MS.ToString(),
                    RecordingIcon    = DEFAULT_RECORDING_ICON,
                    StoppedIcon      = DEFAULT_STOPPED_ICON,
                    PausedIcon       = DEFAULT_PAUSED_ICON
                };

                return(instance);
            }
            public static PluginSettings CreateDefaultSettings()
            {
                PluginSettings instance = new PluginSettings
                {
                    LongKeypressTime   = LONG_KEYPRESS_LENGTH_MS.ToString(),
                    PlaySoundOnSet     = false,
                    PlaybackDevices    = null,
                    PlaybackDevice     = String.Empty,
                    PlaySoundOnSetFile = String.Empty,
                    SharedId           = String.Empty,
                    LongPressAction    = LongPressAction.StoreSelectedText
                };

                return(instance);
            }
            public static PluginSettings CreateDefaultSettings()
            {
                PluginSettings instance = new PluginSettings
                {
                    Path                      = String.Empty,
                    PlaySoundOnSet            = false,
                    PlaybackDevices           = null,
                    PlaybackDevice            = String.Empty,
                    PlaySoundOnSetFile        = String.Empty,
                    LongKeypressTime          = LONG_KEYPRESS_LENGTH_MS.ToString(),
                    LockSelection             = false,
                    ShortPressOpenExplorer    = true,
                    ShortPressCopyToClipboard = false,
                    Encoding                  = String.Empty
                };

                return(instance);
            }
            public static PluginSettings CreateDefaultSettings()
            {
                PluginSettings instance = new PluginSettings
                {
                    SetValue         = String.Empty,
                    LongPressValue   = String.Empty,
                    TitleType        = TitleTypeEnum.VMLive,
                    TitleParam       = String.Empty,
                    TitlePrefix      = String.Empty,
                    EnabledText      = String.Empty,
                    DisabledText     = String.Empty,
                    KeypressHotkey   = String.Empty,
                    KeypressMidi     = String.Empty,
                    LongHotkey       = String.Empty,
                    LongMidi         = String.Empty,
                    LongKeypressTime = LONG_KEYPRESS_LENGTH_MS.ToString()
                };

                return(instance);
            }