Skip to content

Commit af78ff9

Browse files
committed
RDKEMW-5197 AVOutput Advance PQParams
1 parent 7abaec3 commit af78ff9

File tree

6 files changed

+6166
-1646
lines changed

6 files changed

+6166
-1646
lines changed

AVOutput/AVOutput.cpp

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,27 @@
2222
#include "UtilsIarm.h"
2323
#include "UtilsSearchRDKProfile.h"
2424

25+
#define API_VERSION_NUMBER_MAJOR 1
26+
#define API_VERSION_NUMBER_MINOR 2
27+
#define API_VERSION_NUMBER_PATCH 0
28+
2529
namespace WPEFramework {
2630
namespace Plugin {
2731

28-
SERVICE_REGISTRATION(AVOutput,1, 0);
32+
static Plugin::Metadata<Plugin::AVOutput> metadata(
33+
// Version (Major, Minor, Patch)
34+
API_VERSION_NUMBER_MAJOR, API_VERSION_NUMBER_MINOR, API_VERSION_NUMBER_PATCH,
35+
// Preconditions
36+
{},
37+
// Terminations
38+
{},
39+
// Controls
40+
{}
41+
);
42+
43+
44+
SERVICE_REGISTRATION(AVOutput, API_VERSION_NUMBER_MAJOR, API_VERSION_NUMBER_MINOR, API_VERSION_NUMBER_PATCH);
45+
2946

3047
AVOutput::AVOutput()
3148
{

AVOutput/AVOutput.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ namespace Plugin {
6060
const std::string Initialize(PluginHost::IShell* service);
6161
void Deinitialize(PluginHost::IShell* service);
6262
virtual string Information() const override { return {}; }
63+
virtual void AddRef() const { }
64+
virtual uint32_t Release() const {return 0; }
6365
BEGIN_INTERFACE_MAP(AVOutput)
6466
INTERFACE_ENTRY(PluginHost::IPlugin)
6567
INTERFACE_ENTRY(PluginHost::IDispatcher)

0 commit comments

Comments
 (0)