Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion AVOutput/AVOutput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,27 @@
#include "UtilsIarm.h"
#include "UtilsSearchRDKProfile.h"

#define API_VERSION_NUMBER_MAJOR 1
#define API_VERSION_NUMBER_MINOR 2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep version for old platfroms in code
#define API_VERSION_NUMBER_MAJOR 1
#define API_VERSION_NUMBER_MINOR 1
#define API_VERSION_NUMBER_PATCH 0

define new version in yocto recipe for new platfroms
API_VERSION_NUMBER_MAJOR 1
API_VERSION_NUMBER_MINOR 2
API_VERSION_NUMBER_PATCH 0

EXTRA_OEMAKE += "
'CXXFLAGS+=-DAPI_VERSION_NUMBER_MAJOR="${API_VERSION_NUMBER_MAJOR}"'
'CXXFLAGS+=-DAPI_VERSION_NUMBER_MINOR=${API_VERSION_NUMBER_MINOR}'
'CXXFLAGS+=-DAPI_VERSION_NUMBER_PATCH="${API_VERSION_NUMBER_PATCH}"'
"

#define API_VERSION_NUMBER_PATCH 0

namespace WPEFramework {
namespace Plugin {

SERVICE_REGISTRATION(AVOutput,1, 0);
static Plugin::Metadata<Plugin::AVOutput> metadata(
// Version (Major, Minor, Patch)
API_VERSION_NUMBER_MAJOR, API_VERSION_NUMBER_MINOR, API_VERSION_NUMBER_PATCH,
// Preconditions
{},
// Terminations
{},
// Controls
{}
);


SERVICE_REGISTRATION(AVOutput, API_VERSION_NUMBER_MAJOR, API_VERSION_NUMBER_MINOR, API_VERSION_NUMBER_PATCH);


AVOutput::AVOutput()
{
Expand Down
Loading
Loading