/*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2019 - 2021 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
typedef enum {
COMPONENT_INFO_COMPONENT_TYPE_FRAME, /**< Frame component */
COMPONENT_INFO_COMPONENT_TYPE_SERVICE, /**< Service component */
+ COMPONENT_INFO_COMPONENT_TYPE_WIDGET, /**< Widget component (Since 6.5) */
} component_info_component_type_e;
/**
/*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2019 - 2021 Samsung Electronics Co., Ltd All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*type = COMPONENT_INFO_COMPONENT_TYPE_FRAME;
else if (value && !strcmp(value, "service"))
*type = COMPONENT_INFO_COMPONENT_TYPE_SERVICE;
+ else if (value && !strcmp(value, "widget"))
+ *type = COMPONENT_INFO_COMPONENT_TYPE_WIDGET;
else
return COMPONENT_MANAGER_ERROR_IO_ERROR;