Skip to content

Commit

Permalink
Renaming WPEFramework to Thunder (#344)
Browse files Browse the repository at this point in the history
* Renaming WPEFramework to Thunder

* Update CMakeLists.txt

---------

Co-authored-by: MFransen69 <39826971+MFransen69@users.noreply.github.com>
  • Loading branch information
HaseenaSainul and MFransen69 authored Jun 3, 2024
1 parent 677a801 commit 957c0b5
Show file tree
Hide file tree
Showing 90 changed files with 121 additions and 121 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# If not stated otherwise in this file or this component's license file the
# If not stated otherwise in this file or this component's license file the
# following copyright and licenses apply:
#
# Copyright 2020 Metrological
Expand All @@ -19,7 +19,7 @@ cmake_minimum_required(VERSION 3.12)

project(Interfaces)

find_package(WPEFramework)
find_package(Thunder)

set(INTERFACES_PATTERNS "I*.h" CACHE STRING "Patterns matching files for which stubs should be generated")
set(JSONRPC_PATTERNS "*.json" CACHE STRING "Patterns matching files for which json stubs should be generated")
Expand Down
4 changes: 2 additions & 2 deletions definitions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cmake_minimum_required(VERSION 3.3)

project(Definitions)

find_package(WPEFramework)
find_package(Thunder)

project_version(1.0.0)

Expand Down Expand Up @@ -58,7 +58,7 @@ endif()
JsonGenerator(CODE INPUT ${JSON_FILE} OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/generated" INCLUDE_PATH ${GENERATOR_SEARCH_PATH} CPPIFDIR "${CMAKE_CURRENT_SOURCE_DIR}/../interfaces/")
JsonGenerator(CODE INPUT ${QA_JSON_FILE} OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/qa_generated" INCLUDE_PATH ${GENERATOR_SEARCH_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../jsonrpc/" CPPIFDIR "${CMAKE_CURRENT_SOURCE_DIR}/../qa_interfaces/" IFDIR "${CMAKE_CURRENT_SOURCE_DIR}/../jsonrpc/" CPP_INTERFACE_PATH "qa_interfaces" JSON_INTERFACE_PATH "qa_interfaces/json")
JsonGenerator(CODE INPUT ${INTERFACE_FILE} OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/generated" INCLUDE_PATH ${GENERATOR_SEARCH_PATH})
JsonGenerator(CODE NAMESPACE WPEFramework::QualityAssurance INPUT ${QA_INTERFACE_FILE} OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/qa_generated" INCLUDE_PATH ${GENERATOR_SEARCH_PATH} CPP_INTERFACE_PATH "qa_interfaces" JSON_INTERFACE_PATH "qa_interfaces/json" )
JsonGenerator(CODE NAMESPACE Thunder::QualityAssurance INPUT ${QA_INTERFACE_FILE} OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/qa_generated" INCLUDE_PATH ${GENERATOR_SEARCH_PATH} CPP_INTERFACE_PATH "qa_interfaces" JSON_INTERFACE_PATH "qa_interfaces/json" )

file(GLOB JSON_ENUM_SOURCES "${CMAKE_CURRENT_BINARY_DIR}/generated/JsonEnum*.cpp")
file(GLOB JSON_LINK_HEADERS "${CMAKE_CURRENT_BINARY_DIR}/generated/J*.h")
Expand Down
2 changes: 1 addition & 1 deletion definitions/Definitions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
#include <qa_interfaces/ITestAutomation.h>
#endif

namespace WPEFramework {
namespace Thunder {

struct ScreenResolutionWidthHeight {
Exchange::IDeviceVideoCapabilities::ScreenResolution resolution;
Expand Down
2 changes: 1 addition & 1 deletion definitions/ValuePoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "Module.h"
#include <interfaces/IValuePoint.h>

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

class ValuePoint : public IValuePoint {
Expand Down
2 changes: 1 addition & 1 deletion definitions/definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#include <interfaces/json/ExternalMetadata.h>
#include <interfaces/IDeviceInfo.h>

namespace WPEFramework {
namespace Thunder {

ENUM_CONVERSION_HANDLER(Exchange::IComposition::ScreenResolution)
ENUM_CONVERSION_HANDLER(Exchange::IStream::streamtype)
Expand Down
2 changes: 1 addition & 1 deletion interfaces/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cmake_minimum_required(VERSION 3.3)

project(Marshalling)

find_package(WPEFramework)
find_package(Thunder)

project_version(1.0.0)

Expand Down
2 changes: 1 addition & 1 deletion interfaces/IAVNClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#pragma once
#include "Module.h"

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

struct EXTERNAL IAVNClient : virtual public Core::IUnknown {
Expand Down
4 changes: 2 additions & 2 deletions interfaces/IAVSClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#pragma once
#include "Module.h"

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

// @json 1.0.0 @uncompliant:collapsed
Expand Down Expand Up @@ -68,4 +68,4 @@ namespace Exchange {
};

} // Exchange
} // WPEFramework
} // Thunder
2 changes: 1 addition & 1 deletion interfaces/IAmazonPrime.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#include "Module.h"

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

// @json 1.0.0 @uncompliant:collapsed
Expand Down
2 changes: 1 addition & 1 deletion interfaces/IApplication.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#include "Module.h"

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

// @json 1.0.0 @uncompliant:collapsed
Expand Down
2 changes: 1 addition & 1 deletion interfaces/IBluetooth.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "Module.h"


namespace WPEFramework {
namespace Thunder {

namespace Exchange {

Expand Down
2 changes: 1 addition & 1 deletion interfaces/IBluetoothAudio.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include "Module.h"

namespace WPEFramework {
namespace Thunder {

namespace Exchange {

Expand Down
2 changes: 1 addition & 1 deletion interfaces/IBrowser.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

// @stubgen:include <com/IIteratorType.h>

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

// This interface gives direct access to a Browser to change
Expand Down
2 changes: 1 addition & 1 deletion interfaces/IButler.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

// @stubgen:include <com/IIteratorType.h>

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

struct IValuePoint;
Expand Down
2 changes: 1 addition & 1 deletion interfaces/ICapture.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@



namespace WPEFramework {
namespace Thunder {
namespace Exchange {

// @stubgen:omit
Expand Down
2 changes: 1 addition & 1 deletion interfaces/ICommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#pragma once
#include "Module.h"

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

// This interface gives the possibility to create/defines commmands to be executed by
Expand Down
6 changes: 3 additions & 3 deletions interfaces/IComposition.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

// @insert "IDeviceInfo.h"

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

struct EXTERNAL IComposition : virtual public Core::IUnknown {
Expand Down Expand Up @@ -82,7 +82,7 @@ namespace Exchange {
virtual uint64_t Modifier() = 0;
};

virtual WPEFramework::Core::instance_id Native() const { return 0; };
virtual Thunder::Core::instance_id Native() const { return 0; };
virtual string Name() const = 0;
virtual void Opacity(const uint32_t value) = 0;
virtual uint32_t Opacity() const { return 0; };
Expand Down Expand Up @@ -116,7 +116,7 @@ namespace Exchange {

~IDisplay() override = default;

virtual WPEFramework::Core::instance_id Native() const = 0;
virtual Thunder::Core::instance_id Native() const = 0;
virtual string Port() const = 0;

virtual IClient* CreateClient(const string& name, const uint32_t width, const uint32_t height) = 0;
Expand Down
4 changes: 2 additions & 2 deletions interfaces/ICompositionBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include "Module.h"

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

// @stubgen:omit
Expand Down Expand Up @@ -79,4 +79,4 @@ namespace Exchange {

} // namespace Exchange

} // namespace WPEFramework
} // namespace Thunder
2 changes: 1 addition & 1 deletion interfaces/IConfiguration.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#pragma once
#include "Module.h"

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

struct EXTERNAL IConfiguration : virtual public Core::IUnknown {
Expand Down
2 changes: 1 addition & 1 deletion interfaces/IContentDecryption.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "Module.h"
#include "IDRM.h"

namespace WPEFramework {
namespace Thunder {

namespace Exchange {

Expand Down
2 changes: 1 addition & 1 deletion interfaces/ICryptography.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include "Module.h"

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

enum CryptographyVault : uint8_t {
Expand Down
2 changes: 1 addition & 1 deletion interfaces/ICustomerCareOperations.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#include "Module.h"

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

// @json 1.0.0
Expand Down
2 changes: 1 addition & 1 deletion interfaces/IDIALServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#pragma once
#include "Module.h"

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

struct EXTERNAL IDIALServer : virtual public Core::IUnknown {
Expand Down
2 changes: 1 addition & 1 deletion interfaces/IDNSServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#pragma once
#include "Module.h"

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

// This interface gives access to DNS Zone information
Expand Down
22 changes: 11 additions & 11 deletions interfaces/IDRM.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class BufferReader {
size_t pos_;
};

namespace WPEFramework
namespace Thunder
{
namespace PluginHost
{
Expand Down Expand Up @@ -518,8 +518,8 @@ struct ISystemFactory {
virtual IMediaKeys* Instance() = 0;
virtual const char* KeySystem() const = 0;
virtual const std::vector<std::string>& MimeTypes() const = 0;
virtual void Initialize(const WPEFramework::PluginHost::IShell * shell, const std::string& configline) = 0;
virtual void Deinitialize(const WPEFramework::PluginHost::IShell * shell) = 0;
virtual void Initialize(const Thunder::PluginHost::IShell * shell, const std::string& configline) = 0;
virtual void Deinitialize(const Thunder::PluginHost::IShell * shell) = 0;
virtual CDMi_RESULT Enable() = 0;
virtual CDMi_RESULT Disable() = 0;
};
Expand Down Expand Up @@ -553,11 +553,11 @@ class SystemFactoryType : public ISystemFactory {
return (typeid(IMPLEMENTATION).name());
}

void Initialize(const WPEFramework::PluginHost::IShell * shell, const std::string& configline) override
void Initialize(const Thunder::PluginHost::IShell * shell, const std::string& configline) override
{
Initialize(shell, configline, std::integral_constant<bool, HasOnShellAndSystemInitialize<IMPLEMENTATION>::Has>());
}
void Deinitialize(const WPEFramework::PluginHost::IShell * shell) override
void Deinitialize(const Thunder::PluginHost::IShell * shell) override
{
Deinitialize(shell, std::integral_constant<bool, HasOnShellAndSystemDeinitialize<IMPLEMENTATION>::Has>());
}
Expand All @@ -574,7 +574,7 @@ class SystemFactoryType : public ISystemFactory {
private:
template <typename T>
struct HasOnShellAndSystemInitialize {
template <typename U, void (U::*)(const WPEFramework::PluginHost::IShell *, const std::string&)>
template <typename U, void (U::*)(const Thunder::PluginHost::IShell *, const std::string&)>
struct SFINAE {
};
template <typename U>
Expand All @@ -586,7 +586,7 @@ class SystemFactoryType : public ISystemFactory {

template <typename T>
struct HasOnShellAndSystemDeinitialize {
template <typename U, void (U::*)(const WPEFramework::PluginHost::IShell *)>
template <typename U, void (U::*)(const Thunder::PluginHost::IShell *)>
struct SFINAE {
};
template <typename U>
Expand All @@ -597,18 +597,18 @@ class SystemFactoryType : public ISystemFactory {
};


void Initialize(const WPEFramework::PluginHost::IShell * service, const std::string& configline, std::true_type) {
void Initialize(const Thunder::PluginHost::IShell * service, const std::string& configline, std::true_type) {
_instance.Initialize(service, configline);
}

void Initialize(const WPEFramework::PluginHost::IShell *, const std::string&, std::false_type) {
void Initialize(const Thunder::PluginHost::IShell *, const std::string&, std::false_type) {
}

void Deinitialize(const WPEFramework::PluginHost::IShell * service, std::true_type) {
void Deinitialize(const Thunder::PluginHost::IShell * service, std::true_type) {
_instance.Deinitialize(service);
}

void Deinitialize(const WPEFramework::PluginHost::IShell *, std::false_type) {
void Deinitialize(const Thunder::PluginHost::IShell *, std::false_type) {
}

template <typename T>
Expand Down
2 changes: 1 addition & 1 deletion interfaces/IDeviceInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

// @stubgen:include <com/IIteratorType.h>

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

struct EXTERNAL IDeviceInfo : virtual public Core::IUnknown {
Expand Down
2 changes: 1 addition & 1 deletion interfaces/IDictionary.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#pragma once
#include "Module.h"

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

/* @json 1.0.0 */
Expand Down
2 changes: 1 addition & 1 deletion interfaces/IDisplayInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

// @stubgen:include <com/IIteratorType.h>

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

/* @json 1.0.0 */
Expand Down
2 changes: 1 addition & 1 deletion interfaces/IDolby.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include "Module.h"

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

namespace Dolby {
Expand Down
2 changes: 1 addition & 1 deletion interfaces/IDsgccClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#pragma once
#include "Module.h"

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

struct EXTERNAL IDsgccClient : virtual public Core::IUnknown {
Expand Down
2 changes: 1 addition & 1 deletion interfaces/IExternal.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "Module.h"
#include "IValuePoint.h"

namespace WPEFramework {
namespace Thunder {
namespace Exchange {
struct EXTERNAL IExternal : virtual public Core::IUnknown {
enum { ID = ID_EXTERNAL };
Expand Down
2 changes: 1 addition & 1 deletion interfaces/IExternalBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "Module.h"
#include "IExternal.h"

namespace WPEFramework {
namespace Thunder {
namespace Exchange {

// @stubgen:omit
Expand Down
Loading

0 comments on commit 957c0b5

Please sign in to comment.