Removed redundant 'Bloom' namespace from entire codebase

This commit is contained in:
Nav
2023-08-13 15:47:51 +01:00
parent 0935ba65cf
commit 5896306f1a
555 changed files with 6254 additions and 6510 deletions

View File

@@ -5,9 +5,9 @@
#include "src/TargetController/Exceptions/DeviceInitializationFailure.hpp"
#include "src/TargetController/Exceptions/DeviceCommunicationFailure.hpp"
namespace Bloom::Usb
namespace Usb
{
using namespace Bloom::Exceptions;
using namespace Exceptions;
HidInterface::HidInterface(
std::uint8_t interfaceNumber,

View File

@@ -10,7 +10,7 @@
#include <hidapi/hidapi.h>
#include <hidapi/hidapi_libusb.h>
namespace Bloom::Usb
namespace Usb
{
/**
* The HidInterface uses the HIDAPI library to implement communication with HID endpoints.

View File

@@ -6,9 +6,9 @@
#include "src/TargetController/Exceptions/DeviceInitializationFailure.hpp"
#include "src/TargetController/Exceptions/DeviceNotFound.hpp"
namespace Bloom::Usb
namespace Usb
{
using namespace Bloom::Exceptions;
using namespace Exceptions;
UsbDevice::UsbDevice(std::uint16_t vendorId, std::uint16_t productId)
: vendorId(vendorId)

View File

@@ -8,7 +8,7 @@
#include "src/DebugToolDrivers/DebugTool.hpp"
namespace Bloom::Usb
namespace Usb
{
using LibusbContext = std::unique_ptr<::libusb_context, decltype(&::libusb_exit)>;
using LibusbDevice = std::unique_ptr<::libusb_device, decltype(&::libusb_unref_device)>;