resource-manager: Add API for fine-tuned event listening
[platform/core/system/libsyscommon.git] / tests / resource-manager / common-interface.h
1 #ifndef __TEST_COMMON_INTERFACE_H__
2 #define __TEST_COMMON_INTERFACE_H__
3
4 #include <stdint.h>
5 #include <stdbool.h>
6
7 enum libsyscommon_test_resource_type {
8         TEST_RESOURCE_TYPE_DISPLAY,
9         TEST_RESOURCE_TYPE_BATTERY,
10         TEST_RESOURCE_TYPE_NOT_EXIST,
11 };
12
13 typedef union {
14         int32_t i32;
15         int64_t i64;
16         uint32_t u32;
17         uint64_t u64;
18         double d;
19         void* p;
20         bool b;
21 } resource_attr_data_t;
22
23 #endif /* __TEST_COMMON_INTERFACE_H__ */