forked from enlightenment/efl
31 lines
911 B
Plaintext
31 lines
911 B
Plaintext
class Efl.Vpath.Manager (Efl.Object)
|
|
{
|
|
[[ Vpath Manager manages multiple VPath objects that remap/download
|
|
|
|
@since 1.18
|
|
]]
|
|
eo_prefix: efl_vpath_manager;
|
|
methods {
|
|
fetch @class {
|
|
[[ This class function fetches a Vpath File given an input path ]]
|
|
params {
|
|
path: string; [[ The input virtual file path to fetch ]]
|
|
}
|
|
return: Efl.Vpath.File @owned; [[ An object representing the file ]]
|
|
}
|
|
register @class {
|
|
[[Register a vpath with the manager ]]
|
|
params {
|
|
priority: int; [[ Search order - higher values tried first ]]
|
|
vpath: Efl.Vpath @nonull; [[ A Vpath implementation object ]]
|
|
}
|
|
}
|
|
unregister @class {
|
|
[[ Unregister a vpath from the manager ]]
|
|
params {
|
|
vpath: Efl.Vpath @nonull; [[ A Vpath implementation object ]]
|
|
}
|
|
}
|
|
}
|
|
}
|