diff options
author | Ho-Eun Ryu <ho-eun.ryu@windriver.com> | 2009-09-30 11:37:24 +0900 |
---|---|---|
committer | Patrick Tjin <pattjin@google.com> | 2014-07-21 22:03:26 -0700 |
commit | 5f3dea3773e2a740d6389e9f0de70d3078c0dcc8 (patch) | |
tree | 54fe5f8a81daae4e8f4c5f81a1dce2a1d3c3c544 /base/inc/componentbase.h | |
parent | 103aec6ed1456b43659800de1854c3d9f384dece (diff) | |
download | wrs_omxil_core-5f3dea3773e2a740d6389e9f0de70d3078c0dcc8.tar.gz |
base:component: add working role feature
Diffstat (limited to 'base/inc/componentbase.h')
-rw-r--r-- | base/inc/componentbase.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/base/inc/componentbase.h b/base/inc/componentbase.h index c7daead..a095ee7 100644 --- a/base/inc/componentbase.h +++ b/base/inc/componentbase.h @@ -318,6 +318,11 @@ private: virtual OMX_ERRORTYPE InitComponent(void) = 0; virtual OMX_ERRORTYPE ExitComponent(void) = 0; + /* called in GetHandle (nr_roles == 1) or SetParameter(ComponentRole) */ + OMX_ERRORTYPE SetWorkingRole(const OMX_STRING role); + /* called in GetHandle (nr_roles == 1) or TransStateToIdle(Loaded) */ + OMX_ERRORTYPE ApplyWorkingRole(void); + /* end of core methods & helpers */ /* @@ -370,6 +375,8 @@ private: OMX_U8 **roles; OMX_U32 nr_roles; + OMX_STRING working_role; + /* component module */ CModule *cmodule; |