summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_vpath_core.eo
blob: e871df87006febbb8de70e994257e803c524e392 (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
31
32
33
34
class Efl.Vpath.Core (Eo.Base, Efl.Vpath)
{
   [[ Core EFL implementation of a Vpath system

   @since 1.18
   ]]
   legacy_prefix: null;
   eo_prefix: efl_vpath_core;
   methods {
      get @class {
         [[ This gets the global EFL Core Vpath class - only 1 - singleton ]]
         return: Efl.Vpath.Core *; [[ Get the singleton core vpath ]]
      }
      meta_set {
         [[ A Meta key is a mapping from a virtual path to a real one ]]
         params {
            key: const(char)*; [[ The magic path key being looked up ]]
            path: const(char)*; [[ The real path the key maps to ]]
         }
      }
      meta_get {
         [[ This returns the real path set for a Meta key, or NULL if not ]]
         params {
            key: const(char)*; [[ The magic path key being looked up ]]
         }
         return: const(char)*;
      }
   }
   implements {
      Eo.Base.constructor;
      Eo.Base.destructor;
      Efl.Vpath.fetch;
   }
}