Skip to content

Commit c25061a

Browse files
committed
Renaming WPEFramework to Thunder
1 parent adad394 commit c25061a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1090
-94
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ install_manifest.txt
1919
Makefile
2020
*/*/Makefile
2121
*/*/*/Makefile
22-
*/*/WPEFramework*Config.cmake
23-
*/*/WPEFramework*ConfigVersion.cmake
22+
*/*/Thunder*Config.cmake
23+
*/*/Thunder*ConfigVersion.cmake
2424
*.pc
2525
*.so.*
2626
*.so

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
cmake_minimum_required(VERSION 3.3)
2020
project(Libraries)
2121

22-
find_package(WPEFramework)
22+
find_package(Thunder)
2323

2424
if (BUILD_REFERENCE)
2525
add_definitions (-DBUILD_REFERENCE=${BUILD_REFERENCE})

Source/asconnector/CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ find_package( systemd REQUIRED )
1616
find_package( udev REQUIRED )
1717

1818
Find Library for Tracing and JSON
19-
find_package(WPEFramework REQUIRED)
20-
find_package(WPEFrameworkMessaging REQUIRED)
19+
find_package(Thunder REQUIRED)
20+
find_package(ThunderMessaging REQUIRED)
2121

2222
# We require C++14
2323
set( CMAKE_CXX_STANDARD 14 )
@@ -62,7 +62,7 @@ add_executable(
6262

6363
target_link_libraries(
6464

65-
WPEFrameworkProtocols::WPEFrameworkProtocols
65+
ThunderProtocols::ThunderProtocols
6666

6767
${SYSTEMD_LIBRARIES}
6868

Source/bluetooth/BluetoothUtils.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
#include "BluetoothUtils.h"
2121

22-
namespace WPEFramework {
22+
namespace Thunder {
2323

2424
namespace Bluetooth {
2525

@@ -215,4 +215,4 @@ void BtUtilsBaswap(bdaddr_t* dst, const bdaddr_t* src)
215215

216216
} // namespace Bluetooth
217217

218-
} // namespace WPEFramework
218+
} // namespace Thunder

Source/bluetooth/BluetoothUtils.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
#include "Module.h"
2323

24-
namespace WPEFramework {
24+
namespace Thunder {
2525

2626
namespace Bluetooth {
2727

@@ -58,4 +58,4 @@ inline void BtUtilsHciFilterSetPtype(int t, struct hci_filter *f)
5858

5959
} // namespace Bluetooth
6060

61-
} // namespace WPEFramework
61+
} // namespace Thunder

Source/bluetooth/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
cmake_minimum_required(VERSION 3.3)
1919

20-
find_package(WPEFramework)
20+
find_package(Thunder)
2121
find_package(${NAMESPACE}Core REQUIRED)
2222
find_package(${NAMESPACE}Messaging REQUIRED)
2323
find_package(CompileSettingsDebug CONFIG REQUIRED)

Source/bluetooth/Definitions.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
#include "Module.h"
2121

22-
namespace WPEFramework {
22+
namespace Thunder {
2323

2424
namespace Bluetooth {
2525

@@ -113,5 +113,5 @@ namespace Bluetooth {
113113
return (pos->text != nullptr ? pos->text : _T("reserved"));
114114
}
115115

116-
} } // namespace WPEFramework::Bluetooth
116+
} } // namespace Thunder::Bluetooth
117117

Source/bluetooth/HCISocket.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
#include "HCISocket.h"
2121

22-
namespace WPEFramework {
22+
namespace Thunder {
2323

2424
ENUM_CONVERSION_BEGIN(Bluetooth::Address::type)
2525
{ Bluetooth::Address::BREDR_ADDRESS, _TXT(_T("bredr")) },

Source/bluetooth/HCISocket.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include "UUID.h"
2424
#include "BluetoothUtils.h"
2525

26-
namespace WPEFramework {
26+
namespace Thunder {
2727

2828
namespace Bluetooth {
2929

@@ -1308,4 +1308,4 @@ POP_WARNING()
13081308

13091309
} // namespace Bluetooth
13101310

1311-
} // namespace WPEFramework
1311+
} // namespace Thunder

Source/bluetooth/UUID.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
#include "UUID.h"
2121

22-
namespace WPEFramework {
22+
namespace Thunder {
2323

2424
namespace Bluetooth {
2525

Source/bluetooth/UUID.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
#include "Module.h"
2323

24-
namespace WPEFramework {
24+
namespace Thunder {
2525

2626
namespace Bluetooth {
2727

Source/bluetooth/audio/AVDTPProfile.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "Module.h"
2121
#include "AVDTPProfile.h"
2222

23-
namespace WPEFramework {
23+
namespace Thunder {
2424

2525
namespace Bluetooth {
2626

Source/bluetooth/audio/AVDTPProfile.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include "Module.h"
2323
#include "AVDTPSocket.h"
2424

25-
namespace WPEFramework {
25+
namespace Thunder {
2626

2727
namespace Bluetooth {
2828

Source/bluetooth/audio/AVDTPSocket.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "Module.h"
2121
#include "AVDTPSocket.h"
2222

23-
namespace WPEFramework {
23+
namespace Thunder {
2424

2525
namespace Bluetooth {
2626

Source/bluetooth/audio/AVDTPSocket.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include "Module.h"
2323
#include "DataRecord.h"
2424

25-
namespace WPEFramework {
25+
namespace Thunder {
2626

2727
namespace Bluetooth {
2828

Source/bluetooth/audio/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
cmake_minimum_required(VERSION 3.3)
1919

20-
find_package(WPEFramework)
20+
find_package(Thunder)
2121
find_package(${NAMESPACE}Core REQUIRED)
2222
find_package(${NAMESPACE}Messaging REQUIRED)
2323
find_package(CompileSettingsDebug CONFIG REQUIRED)

Source/bluetooth/audio/DataRecord.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <type_traits>
2525

2626

27-
namespace WPEFramework {
27+
namespace Thunder {
2828

2929
namespace Bluetooth {
3030

Source/bluetooth/audio/IAudioCodec.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
#include "Module.h"
2323

24-
namespace WPEFramework {
24+
namespace Thunder {
2525

2626
namespace Bluetooth {
2727

Source/bluetooth/audio/IAudioContentProtection.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
#include "Module.h"
2323

24-
namespace WPEFramework {
24+
namespace Thunder {
2525

2626
namespace Bluetooth {
2727

Source/bluetooth/audio/RTPSocket.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include "Module.h"
2323
#include "IAudioCodec.h"
2424

25-
namespace WPEFramework {
25+
namespace Thunder {
2626

2727
namespace Bluetooth {
2828

Source/bluetooth/audio/SDPProfile.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include "SDPSocket.h"
2323
#include "SDPProfile.h"
2424

25-
namespace WPEFramework {
25+
namespace Thunder {
2626

2727
ENUM_CONVERSION_BEGIN(Bluetooth::SDP::ClassID::id)
2828
{ Bluetooth::SDP::ClassID::Undefined, _TXT("(undefined)") },

Source/bluetooth/audio/SDPProfile.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include <set>
2626

2727

28-
namespace WPEFramework {
28+
namespace Thunder {
2929

3030
namespace Bluetooth {
3131

Source/bluetooth/audio/SDPSocket.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "Module.h"
2121
#include "SDPSocket.h"
2222

23-
namespace WPEFramework {
23+
namespace Thunder {
2424

2525
namespace Bluetooth {
2626

Source/bluetooth/audio/SDPSocket.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include "Module.h"
2323
#include "DataRecord.h"
2424

25-
namespace WPEFramework {
25+
namespace Thunder {
2626

2727
namespace Bluetooth {
2828

@@ -910,4 +910,4 @@ namespace SDP {
910910

911911
} // namespace Bluetooth
912912

913-
} // namespace WPEFramework
913+
} // namespace Thunder

Source/bluetooth/audio/codecs/SBC.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
#include <sbc/sbc.h>
2525

26-
namespace WPEFramework {
26+
namespace Thunder {
2727

2828
ENUM_CONVERSION_BEGIN(Bluetooth::A2DP::SBC::preset)
2929
{ Bluetooth::A2DP::SBC::COMPATIBLE, _TXT("Compatible") },

Source/bluetooth/audio/codecs/SBC.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include "../IAudioCodec.h"
2424
#include "../DataRecord.h"
2525

26-
namespace WPEFramework {
26+
namespace Thunder {
2727

2828
namespace Bluetooth {
2929

Source/bluetooth/drivers/BCM43XX.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <HCISocket.h>
2222
#include <IDriver.h>
2323

24-
namespace WPEFramework {
24+
namespace Thunder {
2525

2626
namespace Bluetooth {
2727

@@ -372,22 +372,22 @@ namespace Bluetooth {
372372
uint32_t _baudRate;
373373
};
374374
}
375-
} // namespace WPEFramework::Bluetooth
375+
} // namespace Thunder::Bluetooth
376376

377377

378378
#ifdef __cplusplus
379379
extern "C" {
380380
#endif
381381

382-
WPEFramework::Bluetooth::Broadcom43XX* g_driver = nullptr;
382+
Thunder::Bluetooth::Broadcom43XX* g_driver = nullptr;
383383

384384
const char* construct_bluetooth_driver(const char* input) {
385385
const char* result = "Driver already loaded.";
386386

387387
if (g_driver == nullptr) {
388-
WPEFramework::Bluetooth::Broadcom43XX::Config config;
388+
Thunder::Bluetooth::Broadcom43XX::Config config;
389389
config.FromString(input);
390-
WPEFramework::Bluetooth::Broadcom43XX* driver = new WPEFramework::Bluetooth::Broadcom43XX(config);
390+
Thunder::Bluetooth::Broadcom43XX* driver = new Thunder::Bluetooth::Broadcom43XX(config);
391391

392392

393393
result = driver->Initialize();

Source/bluetooth/drivers/SerialDriver.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
#include "../Module.h"
2121

22-
namespace WPEFramework {
22+
namespace Thunder {
2323

2424
namespace Bluetooth {
2525

@@ -53,7 +53,7 @@ namespace Bluetooth {
5353
public:
5454
//
5555
// Exchange holds a definitions of a request and a response for the communication with the
56-
// HCI. See WPEFramework/Source/core/StreamTypeKeyValue.h for more details.
56+
// HCI. See Thunder/Source/core/StreamTypeKeyValue.h for more details.
5757
//
5858
struct Exchange {
5959

@@ -471,4 +471,4 @@ namespace Bluetooth {
471471
Core::SerialPort::FlowControl _flowControl;
472472
};
473473
}
474-
} // namespace WPEFramework::Bluetooth
474+
} // namespace Thunder::Bluetooth

Source/bluetooth/gatt/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
cmake_minimum_required(VERSION 3.3)
1919

20-
find_package(WPEFramework)
20+
find_package(Thunder)
2121
find_package(${NAMESPACE}Core REQUIRED)
2222
find_package(${NAMESPACE}Messaging REQUIRED)
2323
find_package(CompileSettingsDebug CONFIG REQUIRED)

Source/bluetooth/gatt/GATTProfile.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
#include "GATTProfile.h"
2121

22-
namespace WPEFramework {
22+
namespace Thunder {
2323

2424
ENUM_CONVERSION_BEGIN(Bluetooth::GATTProfile::Service::Characteristic::Descriptor::type)
2525

@@ -322,5 +322,5 @@ ENUM_CONVERSION_BEGIN(Bluetooth::GATTProfile::Service::type)
322322

323323
ENUM_CONVERSION_END(Bluetooth::GATTProfile::Service::type)
324324

325-
} // namespace WPEFramework
325+
} // namespace Thunder
326326

Source/bluetooth/gatt/GATTProfile.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include "Module.h"
2323
#include "GATTSocket.h"
2424

25-
namespace WPEFramework {
25+
namespace Thunder {
2626

2727
namespace Bluetooth {
2828

@@ -879,5 +879,5 @@ namespace Bluetooth {
879879

880880
} // namespace Bluetooth
881881

882-
} // namespace WPEFramework
882+
} // namespace Thunder
883883

Source/bluetooth/gatt/GATTSocket.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
#include "GATTSocket.h"
2121

22-
namespace WPEFramework {
22+
namespace Thunder {
2323

2424
namespace Bluetooth {
2525

@@ -353,4 +353,4 @@ bool GATTSocket::Security(const uint8_t level)
353353

354354
} // namespace Bluetooth
355355

356-
} // namespace WPEFramework
356+
} // namespace Thunder

0 commit comments

Comments
 (0)