summaryrefslogtreecommitdiff
path: root/tidl/PkgSignal.tidl
blob: 0470b160b7e82084c8a33bc8a0712903ec7706a7 (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
// tidlc -g -l C++ -i PkgSignal.tidl -o PkgSignal

struct PkgInfo
{
  string Pkgid;
  string Appid;
  string PkgType;
}

struct PathInfo
{
  string Path;
  int State;
}

struct ExtraData
{
  int ErrCode;
  array<PathInfo> Paths;
}

interface PkgSignal
{
  void AsyncResult(int targetUid, string reqId, array<PkgInfo> pkgs, string key, string val) async;
  void AsyncResultForResource(int targetUid, string reqId, string pkgid, string status, ExtraData extra) async;
}