◆
~SDKBrowsePresets()
成员函数文档编制
◆
Alloc()
Allocates a preset browser. Destroy the allocated preset browser with
Free()
。使用
AutoAlloc
to automate the allocation and destruction based on scope.
-
参数
-
[in]
|
db_index
|
The ID of the preset library to browse.
|
-
返回
-
The allocated preset browser, or
nullptr
if the allocation failed.
◆
Free()
Destructs reset browsers allocated with
Alloc()
。使用
AutoAlloc
to automate the allocation and destruction based on scope.
-
参数
-
[in,out]
|
browse_presets
|
The preset browser to destruct. If the pointer is
nullptr
nothing happens. The pointer is assigned
nullptr
afterwards.
|
◆
GetNext()
Retrieves the next preset.
-
参数
-
[out]
|
url
|
Assigned the URL of the preset.
|
[out]
|
plugin_id
|
Assigned the ID of the plugin that created the preset.
|
-
返回
-
true
if a new preset was retrieved, otherwise
false
.