Commit 2aa57bec authored by vlad_burin's avatar vlad_burin
Browse files

Revert rdk_init changes made in revision 2692

UMockUnet updated to make property creating process more easy

--HG--
branch : MockCompsTest
parent e8241bdc4c47
This diff is collapsed.
......@@ -14,7 +14,7 @@ public: //
//
// --------------------------
UMockUNet(RDK::USerStorageXML *serstorage);
UMockUNet(RDK::USerStorageXML *serstorage=0);
virtual ~UMockUNet(void);
//
......@@ -51,6 +51,12 @@ public:
static bool CreatePropertyByType(RDK::USerStorageXML* serstorage, UMockUNet* mock_unet);
};
// ,
class UnKnow
{
};
}
#endif
......@@ -2556,7 +2556,7 @@ int RDK_CALL Model_LoadComponentPropertiesFromFile(const char *stringid, const c
const char * RDK_CALL Model_SaveComponentParameters(const char *stringid, unsigned int type_mask)
{
return RdkCoreManager.GetEngineLock()->Model_SaveComponentProperties(stringid, type_mask & 0xFFFFFFFF);
return RdkCoreManager.GetEngineLock()->Model_SaveComponentProperties(stringid, type_mask & 0xFFFFFF01);
}
// xml
......@@ -2565,7 +2565,7 @@ const char * RDK_CALL MModel_SaveComponentParameters(int channel_index, const ch
if(channel_index<0 || channel_index>=Core_GetNumChannels())
return 0;
return RdkCoreManager.GetEngineLock(channel_index)->Model_SaveComponentProperties(stringid, type_mask & 0xFFFFFFFF);
return RdkCoreManager.GetEngineLock(channel_index)->Model_SaveComponentProperties(stringid, type_mask & 0xFFFFFF01);
}
// xml
......
......@@ -1048,8 +1048,8 @@ RDK_LIB_TYPE unsigned char* RDK_CALL Model_GetComponentOutputData(const char *st
// , ,
// xml
RDK_LIB_TYPE const char * RDK_CALL Model_SaveComponent(const char *stringid, unsigned int params_type_mask=ptAny | pgPublic);
RDK_LIB_TYPE const char * RDK_CALL MModel_SaveComponent(int channel_index, const char *stringid, unsigned int params_type_mask=ptAny | pgPublic);
RDK_LIB_TYPE const char * RDK_CALL Model_SaveComponent(const char *stringid, unsigned int params_type_mask=ptParameter | pgPublic);
RDK_LIB_TYPE const char * RDK_CALL MModel_SaveComponent(int channel_index, const char *stringid, unsigned int params_type_mask=ptParameter | pgPublic);
// , ,
// xml
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment