From adf7dfb37ea4dcf8d48af5c503b7b7b8877cc455 Mon Sep 17 00:00:00 2001 From: Ingo Huerner Date: Thu, 17 Jul 2014 00:12:44 +0200 Subject: Extended enum type PersistencePolicy_e with values vor default data and configurable default data --- inc/protected/persComRct.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/inc/protected/persComRct.h b/inc/protected/persComRct.h index 79e8fa4..7ab593e 100644 --- a/inc/protected/persComRct.h +++ b/inc/protected/persComRct.h @@ -68,10 +68,13 @@ typedef enum PersistencePolicy_e_ { PersistencePolicy_wc = 0, /**< the data is managed write cached */ PersistencePolicy_wt, /**< the data is managed write through */ - PersistencePolicy_na, /**< the data is not applicable */ - /** insert new entries here ... */ - PersistencePolicy_LastEntry /**< last entry */ + + /** make sure this are the last ones, add new enums only before this */ + PersistencePolicy_cd, /**< configurable default data */ + PersistencePolicy_d, /**< default data */ + PersistencePolicy_na, /**< the data is not applicable */ + PersistencePolicy_LastEntry /**< last entry */ } PersistencePolicy_e; -- cgit v1.2.1 From 8779f2dc2801bc273e0251a3aaff867ab07ed6f2 Mon Sep 17 00:00:00 2001 From: Ingo Huerner Date: Thu, 17 Jul 2014 16:08:20 +0200 Subject: Updated interface version --- inc/protected/persComRct.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/protected/persComRct.h b/inc/protected/persComRct.h index 7ab593e..9c0fc15 100644 --- a/inc/protected/persComRct.h +++ b/inc/protected/persComRct.h @@ -17,6 +17,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Date Author Reason +* 2014.07.17 ihuerner 5.0.0.0 : Update of PersistencePolicy_e, added PersistencePolicy_cd and PersistencePolicy_c * 2013.04.02 uidl9757 5.0.0.0 CSP_WZ#3321: Update of PersistenceConfigurationKey_s.permission * 2013.03.21 uidl9757 4.0.0.0 CSP_WZ#2798: Update of PersistenceConfigurationKey_s * 2013.01.23 uidl9757 3.0.0.0 CSP_WZ#2060: CoC_SSW:Persistence: common interface to be used by both PCL and PAS @@ -41,7 +42,7 @@ extern "C" /** \defgroup PERS_RCT_IF_VERSION Interface version * \{ */ -#define PERS_COM_RESOURCE_CONFIG_TABLE_INTERFACE_VERSION (0x05000000U) +#define PERS_COM_RESOURCE_CONFIG_TABLE_INTERFACE_VERSION (0x05010000U) /** \} */ /* end of PERS_RCT_IF_VERSION */ -- cgit v1.2.1 From be6ce3adeb0ea79775fa113d2e3dc1633e68c51a Mon Sep 17 00:00:00 2001 From: Guy Sagnes Date: Thu, 31 Jul 2014 10:09:06 +0200 Subject: Revert "Extended enum type PersistencePolicy_e with values for default data and configurable default data" The interface change was only provided for test purpose. The extension of the enumerator in not in scope of the RCT definition and is removed. This reverts commit adf7dfb37ea4dcf8d48af5c503b7b7b8877cc455. Signed-off-by: Guy Sagnes --- inc/protected/persComRct.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/inc/protected/persComRct.h b/inc/protected/persComRct.h index 9c0fc15..79e8fa4 100644 --- a/inc/protected/persComRct.h +++ b/inc/protected/persComRct.h @@ -17,7 +17,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Date Author Reason -* 2014.07.17 ihuerner 5.0.0.0 : Update of PersistencePolicy_e, added PersistencePolicy_cd and PersistencePolicy_c * 2013.04.02 uidl9757 5.0.0.0 CSP_WZ#3321: Update of PersistenceConfigurationKey_s.permission * 2013.03.21 uidl9757 4.0.0.0 CSP_WZ#2798: Update of PersistenceConfigurationKey_s * 2013.01.23 uidl9757 3.0.0.0 CSP_WZ#2060: CoC_SSW:Persistence: common interface to be used by both PCL and PAS @@ -42,7 +41,7 @@ extern "C" /** \defgroup PERS_RCT_IF_VERSION Interface version * \{ */ -#define PERS_COM_RESOURCE_CONFIG_TABLE_INTERFACE_VERSION (0x05010000U) +#define PERS_COM_RESOURCE_CONFIG_TABLE_INTERFACE_VERSION (0x05000000U) /** \} */ /* end of PERS_RCT_IF_VERSION */ @@ -69,13 +68,10 @@ typedef enum PersistencePolicy_e_ { PersistencePolicy_wc = 0, /**< the data is managed write cached */ PersistencePolicy_wt, /**< the data is managed write through */ - /** insert new entries here ... */ - - /** make sure this are the last ones, add new enums only before this */ - PersistencePolicy_cd, /**< configurable default data */ - PersistencePolicy_d, /**< default data */ PersistencePolicy_na, /**< the data is not applicable */ - PersistencePolicy_LastEntry /**< last entry */ + + /** insert new entries here ... */ + PersistencePolicy_LastEntry /**< last entry */ } PersistencePolicy_e; -- cgit v1.2.1