summaryrefslogtreecommitdiff
path: root/test/serialization/generated_serializer/include/libcamera/ipa/test.mojom
blob: 91c3164223f960b76056ade7c2203acd16b5ad55 (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
35
36
37
38
39
40
41
42
43
/* SPDX-License-Identifier: LGPL-2.1-or-later */

module ipa.test;

enum IPAOperationCode {
	IPAOperationNone,
	IPAOperationInit,
	IPAOperationStart,
	IPAOperationStop,
};

[scopedEnum] enum ErrorFlags {
	Error1 = 0x1,
	Error2 = 0x2,
	Error3 = 0x4,
	Error4 = 0x8,
};

struct IPASettings {};

struct TestStruct {
	map<string, string> m;
	array<string> a;
	string s1;
	string s2;
	int32 i;
	string s3;
	IPAOperationCode c;
	ErrorFlags e;
	[flags] ErrorFlags f;
};

interface IPATestInterface {
	init(IPASettings settings) => (int32 ret);
	start() => (int32 ret);
	stop();

	test(TestStruct s);
};

interface IPATestEventInterface {
	dummyEvent(uint32 val);
};