Files
external_libcamera/test/serialization/generated_serializer/include/libcamera/ipa/test.mojom
Paul Elder 817a4b4472 tests: Test IPA serializer generation
Add a test to confirm that serializer and header generation works
properly for mojom definition files, and that the serializer works
properly.

Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2021-03-02 19:27:35 +09:00

34 lines
504 B
Plaintext

/* SPDX-License-Identifier: LGPL-2.1-or-later */
module ipa.test;
enum IPAOperationCode {
IPAOperationNone,
IPAOperationInit,
IPAOperationStart,
IPAOperationStop,
};
struct IPASettings {};
struct TestStruct {
map<string, string> m;
array<string> a;
string s1;
string s2;
int32 i;
string s3;
};
interface IPATestInterface {
init(IPASettings settings) => (int32 ret);
start() => (int32 ret);
stop();
test(TestStruct s);
};
interface IPATestEventInterface {
dummyEvent(uint32 val);
};