summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_vpath_manager.eo
blob: e2d301634b1ebb0340d118ee4c3a5fcae373e0fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 ]]
         }
      }
   }
}