-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Integration of CPPSDK support (#176) * BREAKING CHANGE: Generalized templating engine to support both JavaScript and CPP (and other languages). * feat(languages): Add support for a distinct JSON-type for each schema * feat(accessors): New macro section for schema property accessors * Add support to generate file inclusion for common schema also (#97) * Detach setter declaration from property template and add setter template, remove unredundant warnings Cleanup changes, add separator between prefix and subSchema name generation Introduce excludeDeclarations flag to handle declaration exclusion specific to language Alignement changes + cleanup + OUT params support added to differentiate method signature parameters Update in static code * CPPSDK : Add Async communication support and CPP code generation for x-uses + x-allow-focus=true (#170) * chore(release): 3.0.0-next.1 [skip ci] # [3.0.0-next.1](v2.3.0-next.1...v3.0.0-next.1) (2024-03-26) * Integration of CPPSDK support (#176) ([89294cc](89294cc)), closes [#176](#176) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#117](#117) [#116](#116) [#118](#118) [#121](#121) [#119](#119) [#90](#90) [#93](#93) [#94](#94) [#96](#96) [#97](#97) [#100](#100) [#99](#99) [#101](#101) [#102](#102) [#107](#107) [#106](#106) [#105](#105) [#103](#103) [#109](#109) [#112](#112) [#111](#111) [#113](#113) [#114](#114) [#115](#115) [#110](#110) [#117](#117) [#116](#116) [#118](#118) [#121](#121) [#119](#119) [#127](#127) [#137](#137) [#135](#135) [#134](#134) [#136](#136) [#139](#139) [#138](#138) [#140](#140) [#142](#142) [#144](#144) [#145](#145) [#141](#141) [#149](#149) [#150](#150) [#152](#152) [#151](#151) [#153](#153) [#154](#154) [#156](#156) [#157](#157) [#158](#158) [#160](#160) [#159](#159) [#161](#161) [#163](#163) [#164](#164) [#165](#165) [#167](#167) [#169](#169) [#171](#171) [#173](#173) [#172](#172) [#170](#170) * chore: Copy JS templates to C and create language.config.json * feat(accessors): New macro section for schema property accessors * feat: CI/CD Merging from next (#183) # [3.0.0-next.2](v3.0.0-next.1...v3.0.0-next.2) (2024-04-08) ### Features * CI/CD Merging from next ([#183](#183)) ([14476a9](14476a9)) * Detach setter declaration from property template and add setter template, remove unredundant warnings Cleanup changes, add separator between prefix and subSchema name generation Introduce excludeDeclarations flag to handle declaration exclusion specific to language Alignement changes + cleanup + OUT params support added to differentiate method signature parameters Update in static code * Add support to generate file inclusion for common schema also (#97) * C-Language: Templates based property methods (#100) * feat: Add method templates for properties * feat: Property setters using templates * fix: Macro name correction * Add support to keep original file permissions of template/sdk files (#99) * Event template implementation added (#101) * Template for Polymorphic pull method (#102) * chore(release): 3.0.0-next.3 [skip ci] # [3.0.0-next.3](v3.0.0-next.2...v3.0.0-next.3) (2024-05-09) ### Bug Fixes * Account for new OpenRPC spec URL contents ([#186](#186)) ([66bd6ac](66bd6ac)) * feat: App Pass-through (#188) This feature enables one Firebolt App to provide a capability that may be used by another Firebolt App, with the platform as a permission broker that passes the requests and responses to each app without feature-specific logic. This document covers the App Pass-through Firebolt OpenRPC extension as well as how Firebolt implementations should detect and execute app provided pass-through APIs. Some APIs require an app to fulfill the request on behalf of another app, e.g. to provide a UX or cross-app data sharing. Generally the calling app doesn't care, or have a say in, which other app provides the API, that is up to the Firebolt distributor. To facilitate these APIs, Firebolt denotes an `x-provided-by` OpenRPC tag with OpenRPC extensions to connect the `provide` API to the `use` API. * chore(release): 3.0.0-next.4 [skip ci] # [3.0.0-next.4](v3.0.0-next.3...v3.0.0-next.4) (2024-06-06) ### Features * App Pass-through ([#188](#188)) ([83fa0fc](83fa0fc)) * chore(release): 3.0.0-next.5 [skip ci] # [3.0.0-next.5](v3.0.0-next.4...v3.0.0-next.5) (2024-06-13)
- Loading branch information
1 parent
610b2ac
commit b374818
Showing
565 changed files
with
11,595 additions
and
410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Attempt to merge next to main | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
# Check if next can merge into main | ||
perform_merge: | ||
name: Perform merge if "next" can merge into "main" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
repo-token: ${{ secrets.SEMANTIC_RELEASE_BOT_PAT }} | ||
persist-credentials: true | ||
|
||
# Set user identity | ||
- name: Set-Identity | ||
run: | | ||
git config --global user.email "${{ secrets.GLOBAL_GITHUB_EMAIL }}" | ||
git config --global user.name "${{ secrets.GLOBAL_GITHUB_USER }}" | ||
# Checkout "main" | ||
- name: Checkout main | ||
run: git checkout "main" | ||
|
||
- name: Perform the merge from next to main | ||
run: | | ||
git merge next | ||
git push origin "main" | ||
echo "Push to main succeeded" | ||
# If the merge cannot be performed, let stakeholders know | ||
message_on_failure: | ||
name: Merge failure | ||
needs: perform_merge | ||
runs-on: ubuntu-latest | ||
if: ${{ failure() }} | ||
|
||
steps: | ||
- name: Post error message (To-Do) | ||
run: echo "Next cannot be merged into main cleanly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: Attempt to merge next to next-major | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- "next" | ||
|
||
jobs: | ||
# Check if next can merge into next-major | ||
perform_merge: | ||
name: Perform merge if "next" can merge into "next-major" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
repo-token: ${{ secrets.SEMANTIC_RELEASE_BOT_PAT }} | ||
persist-credentials: true | ||
|
||
# Set user identity | ||
- name: Set-Identity | ||
run: | | ||
git config --global user.email "${{ secrets.GLOBAL_GITHUB_EMAIL }}" | ||
git config --global user.name "${{ secrets.GLOBAL_GITHUB_USER }}" | ||
# Checkout "next-major" | ||
- name: Checkout next-major | ||
run: git checkout "next-major" | ||
|
||
# Get the "next-major" version number | ||
- name: Extract next-major version | ||
id: extract_version | ||
run: echo "::set-output name=version::$(node -e 'console.log(require("./package.json").version)')" | ||
|
||
# Checkout "next" | ||
- name: Checkout next | ||
run: git checkout "next" | ||
|
||
# Update "next" version to match "next-major" | ||
- name: Update "next" version to match "next-major" | ||
run: | | ||
jq '.version = "${{ steps.extract_version.outputs.version }}"' package.json > temp.json | ||
if diff -q "package.json" "temp.json" >/dev/null; then | ||
echo "Versions are identical. No change required." | ||
rm temp.json | ||
else | ||
mv temp.json package.json | ||
git add package.json && git commit -m "Sync version to ${{ steps.extract_version.outputs.version }}" | ||
fi | ||
# Checkout "next-major" | ||
- name: Checkout next-major | ||
run: git checkout "next-major" | ||
|
||
- name: Perform the merge from next to next-major | ||
run: | | ||
git merge next | ||
git push origin "next-major" | ||
echo "Push to next-major succeeded" | ||
# If the merge cannot be performed, let stakeholders know | ||
message_on_failure: | ||
name: Merge failure | ||
needs: perform_merge | ||
runs-on: ubuntu-latest | ||
if: ${{ failure() }} | ||
|
||
steps: | ||
- name: Post error message (To-Do) | ||
run: echo "Next cannot be merged into next-major cleanly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ node_modules/* | |
.DS_Store | ||
.DS_Store | ||
coverage | ||
.vscode/settings.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "C", | ||
"langcode": "c", | ||
"createModuleDirectories": false, | ||
"extractSubSchemas": true, | ||
"unwrapResultObjects": true, | ||
"convertTuplesToArraysOrObjects": true, | ||
"templatesPerModule": [ | ||
"/include/module.h", | ||
"/src/module.cpp" | ||
], | ||
"templatesPerSchema": [ | ||
"/include/common/module.h", | ||
"/src/module_common.cpp", | ||
"/src/jsondata_module.h" | ||
], | ||
"persistPermission": true, | ||
"primitives": { | ||
"boolean": "bool", | ||
"integer": "int", | ||
"number": "float", | ||
"string": "char*" | ||
}, | ||
"additionalSchemaTemplates": [ | ||
"json-types" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* Copyright 2021 Comcast Cable Communications Management, LLC | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
export { default as Transport } from './shared/Transport/index.mjs' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as ${info.title} } from './${info.title}/index.mjs' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import { default as _${info.title} } from './${info.title}/defaults.mjs' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
${info.title}: _${info.title}, |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* ${method.name} - ${method.description} */ | ||
uint32_t ${info.title}_${method.Name}( ${method.signature.params} ) | ||
{ | ||
const string method = _T("${info.title}.${method.name}"); | ||
${if.params} | ||
${method.params.serialization} | ||
${end.if.params} | ||
return FireboltSDK::Properties::Set(method, jsonParameters); | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* | ||
* ${method.summary} | ||
* ${method.params} | ||
*/ | ||
int F${info.title}_${method.Name}(${method.signature.params}${if.result.properties}${if.params}, ${end.if.params}${end.if.result.properties}${method.result.properties}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/* ${method.name} - ${method.description} */ | ||
typedef void (*F${info.Title}${method.Name}Callback)( const void* userData, ${event.signature.callback.params}${if.event.params}, ${end.if.event.params}${method.result.properties} ); | ||
int F${info.title}_Register_${method.Name}( ${event.signature.params}${if.event.params}, ${end.if.event.params}F${info.Title}${method.Name}Callback userCB, const void* userData ); | ||
int F${info.title}_Unregister_${method.Name}( F${info.Title}${method.Name}Callback userCB); |
Empty file.
Empty file.
5 changes: 5 additions & 0 deletions
5
languages/c-structs/templates/declarations/polymorphic-reducer.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* | ||
* ${method.summary} | ||
* ${method.params} | ||
*/ | ||
int F${info.title}_${method.Name}(${method.signature.params}${if.result.properties}${if.params}, ${end.if.params}${end.if.result.properties}${method.result.properties}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* | ||
* ${method.summary} | ||
* ${method.params} | ||
*/ | ||
int F${info.title}_Get${method.Name}(${method.signature.params}${if.params}, ${end.if.params}${method.result.properties}); |
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "jsondata_${info.title.lowercase}.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "common/${info.title.lowercase}.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "jsondata_${info.title.lowercase}.h" |
1 change: 1 addition & 0 deletions
1
languages/c-structs/templates/json-types/additionalProperties.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// need cpp code to init, get, set, clear additional properties... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/* AnyOf is not supported in C: ${title} */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
uint32_t ${info.Title}_${Title}Array_Size(${type} handle); | ||
${type} ${title}Array_Get(${type} handle, uint32_t index); | ||
void ${info.Title}_${Title}Array_Add(${propertyType} handle, ${valueType} value); | ||
void ${info.Title}_${Title}Array_Clear(${propertyType} handle); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
WPEFramework::Core::JSON::Boolean |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
${shape} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/* ${title} ${description} */ | ||
ENUM_CONVERSION_BEGIN(${name}) | ||
{ ${NAME}_${key}, _T("${value}") }, | ||
ENUM_CONVERSION_END(${name}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/* ${title} ${description} */ | ||
typedef enum { | ||
${NAME}_${key}, | ||
} ${name}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
WPEFramework::Core::JSON::Float |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
WPEFramework::Core::JSON::DecSInt32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
FireboltSDK::${info.Title}:: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
class ${title}: public WPEFramework::Core::JSON::Container { | ||
public: | ||
~${title}() override = default; | ||
|
||
public: | ||
${title}() | ||
: WPEFramework::Core::JSON::Container() | ||
{ | ||
${properties.register} | ||
} | ||
|
||
${title}(const ${title}& other) | ||
{ | ||
${properties.assign} | ||
} | ||
|
||
${title}& operator=(const ${title}& other) | ||
{ | ||
${properties.assign} | ||
return (*this); | ||
} | ||
|
||
public: | ||
${properties} | ||
}; |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Add(_T("${property}"), &${Property}); | ||
${Property} = other.${Property} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add(_T("${property}"), &${Property}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
${title} ${Property}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
${shape} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
FireboltSDK::JSON::String |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
JsonData_${Title} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
class ${title}: public WPEFramework::Core::JSON::Container { | ||
public: | ||
~${title}() override = default; | ||
|
||
public: | ||
${title}() | ||
: WPEFramework::Core::JSON::Container() | ||
{ | ||
${properties.register} | ||
} | ||
|
||
${title}(const ${title}& other) | ||
{ | ||
${properties.assign} | ||
} | ||
|
||
${title}& operator=(const ${title}& other) | ||
{ | ||
${properties.assign} | ||
return (*this); | ||
} | ||
|
||
public: | ||
${properties} | ||
}; |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
void* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
${key} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
typedef enum { | ||
${items} | ||
} F${info.title}_${title}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
${type} ${name} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
${type} ${property}; |
Oops, something went wrong.