[Issue#] LINUXWRT-1020
[Problem] GlobalDAO has unnecessary API.
[Cause] N/A
[Solution] Add deprecated mark to "GetDeviceCapability"
- FeatureDAOReadOnly::GetDeviceCapability should be used instead of
GlobalDAOReadOnly::GetDeviceCapability. As GlobalDAOReadyonly
also doesn't export any APIs, add deprecated mark to construct.
[Verification] Build repos.
[SCMRequest] Depends on https://review.tizendev.org/gerrit/#/c/93615/
Change-Id: I95de4eb2fa1478ea207d9d9089b5c92d8979ff83
* This method returns set of device capabilities used by apifeature.
*/
static DeviceCapabilitySet GetDeviceCapability(
- const DPL::String &apifeature);
+ const DPL::String &apifeature) DPL_DEPRECATED_WITH_MESSAGE("Use FeatureDAOReadOnly::GetDeviceCapability");
protected:
- GlobalDAOReadOnly()
+ DPL_DEPRECATED GlobalDAOReadOnly()
{}
};
} // namespace WrtDB