mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
b02427417c
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@5614 21ef857c-d57f-4fe0-8362-d861dc6d29cd
31 lines
633 B
C#
31 lines
633 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace ProcessHacker.Common.Settings
|
|
{
|
|
public sealed class VolatileSettingsStore : ISettingsStore
|
|
{
|
|
public void Flush()
|
|
{
|
|
// Nothing to flush.
|
|
}
|
|
|
|
public string GetValue(string name)
|
|
{
|
|
// No settings saved, return null.
|
|
return null;
|
|
}
|
|
|
|
public void Reset()
|
|
{
|
|
// Nothing to reset.
|
|
}
|
|
|
|
public void SetValue(string name, string value)
|
|
{
|
|
// Don't save anything.
|
|
}
|
|
}
|
|
}
|