mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-08 10:14:46 +02:00
Backend abstraction + added android support + partial high DPI scaling + added missing files
This commit is contained in:
17
core/backends/android/android_backend.h
Normal file
17
core/backends/android/android_backend.h
Normal file
@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
#include <vector>
|
||||
#include <stdint.h>
|
||||
|
||||
namespace backend {
|
||||
struct DevVIDPID {
|
||||
uint16_t vid;
|
||||
uint16_t pid;
|
||||
};
|
||||
|
||||
extern const std::vector<DevVIDPID> AIRSPY_VIDPIDS;
|
||||
extern const std::vector<DevVIDPID> AIRSPYHF_VIDPIDS;
|
||||
extern const std::vector<DevVIDPID> HACKRF_VIDPIDS;
|
||||
extern const std::vector<DevVIDPID> RTL_SDR_VIDPIDS;
|
||||
|
||||
int getDeviceFD(int& vid, int& pid, const std::vector<DevVIDPID>& allowedVidPids);
|
||||
}
|
Reference in New Issue
Block a user