Initial release

This commit is contained in:
civ
2026-08-16 18:24:52 +07:00
commit 876886a39a
13244 changed files with 2353959 additions and 0 deletions
@@ -0,0 +1,33 @@
// This file is part of VSTGUI. It is subject to the license terms
// in the LICENSE file found in the top-level directory of this
// distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
#pragma once
#include "fwd.h"
#include "../../lib/cstring.h"
#include "../../lib/optional.h"
#include "interface.h"
//------------------------------------------------------------------------
namespace VSTGUI {
namespace Standalone {
//------------------------------------------------------------------------
/** Preference interface
*
* You get the preferences via IApplication::instance ().getPreferences ().
* @ingroup standalone
*/
class IPreference : public Interface
{
public:
/** Set a preference value. */
virtual bool set (const UTF8String& key, const UTF8String& value) = 0;
/** Get a preference value */
virtual Optional<UTF8String> get (const UTF8String& key) = 0;
};
//------------------------------------------------------------------------
} // Standalone
} // VSTGUI