Skip to content

Commit 51ac511

Browse files
authored
RDKEMW-6718: Update HdcpProfile.h
1 parent e17eda7 commit 51ac511

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

HdcpProfile/HdcpProfile.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace WPEFramework {
3232

3333
namespace Plugin {
3434

35-
class HdcpProfile : public PluginHost::IPlugin, public PluginHost::JSONRPC
35+
class HdcpProfile : public PluginHost::IPlugin, public PluginHost::JSONRPCErrorAssessor<PluginHost::JSONRPCErrorAssessorTypes::FunctionCallbackType>
3636
{
3737
private:
3838
class Notification : public RPC::IRemoteConnection::INotification, public Exchange::IHdcpProfile::INotification
@@ -97,6 +97,7 @@ namespace WPEFramework {
9797
const string Initialize(PluginHost::IShell* service) override;
9898
void Deinitialize(PluginHost::IShell* service) override;
9999
string Information() const override;
100+
static uint32_t OnJSONRPCError(const Core::JSONRPC::Context& context, const string& method, const string& parameters, const uint32_t errorcode, string& errormessage);
100101

101102
private:
102103
void Deactivated(RPC::IRemoteConnection* connection);

0 commit comments

Comments
 (0)