// 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 "../../lib/vstguifwd.h" #include "../../lib/optional.h" #include "interface.h" //------------------------------------------------------------------------ namespace VSTGUI { namespace Standalone { //------------------------------------------------------------------------ /** Shared UI resources interface * * @ingroup standalone */ class ISharedUIResources : public Interface { public: /** get shared color. */ virtual Optional getColor (const UTF8String& name) const = 0; /** get shared bitmap. */ virtual Optional getBitmap (const UTF8String& name) const = 0; /** get shared gradient. */ virtual Optional getGradient (const UTF8String& name) const = 0; /** get shared font. */ virtual Optional getFont (const UTF8String& name) const = 0; }; //------------------------------------------------------------------------ } // Standalone } // VSTGUI