summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_vpath_manager.eo
blob: e8684930ec824c06ab9a2150dd2d690bccfc3049 (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 (Eo.Base)
{
   [[ 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: const(char)*; [[ The input virtual file path to fetch ]]
         }
         return: own(Efl.Vpath.File *); [[ 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 ]]
         }
      }
   }
}