blob: c3290f64f236a93d69e6d4e5e88821954b28d83c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
/* IUserSettingService.cs $
This file is part of the HandBrake source code.
Homepage: <http://handbrake.fr/>.
It may be used under the terms of the GNU General Public License. */
namespace HandBrake.ApplicationServices.Services.Interfaces
{
/// <summary>
/// The User Setting Service Interace.
/// </summary>
public interface IUserSettingService
{
/// <summary>
/// Set the specified user setting.
/// </summary>
/// <param name="name">
/// Name of the property
/// </param>
/// <param name="value">
/// The value to store.
/// </param>
void SetUserSetting(string name, object value);
/// <summary>
/// Get user setting for a given key.
/// </summary>
/// <param name="name">
/// The name.
/// </param>
/// <typeparam name="T">
/// The Type of the setting
/// </typeparam>
/// <returns>
/// The user setting
/// </returns>
T GetUserSetting<T>(string name);
/// <summary>
/// Get an StringCollection type user setting
/// </summary>
/// <param name="name">
/// The setting name
/// </param>
/// <returns>
/// The settings value
/// </returns>
System.Collections.Specialized.StringCollection GetUserSettingStringCollection(string name);
}
}
|