Files
iDescriptor/src/devicedatabase.h
T
uncor3 c783123b8d implement WelcomeWidget , fix bugs , add tutorial videos
- Introduced WelcomeWidget to display a welcome message when no devices are connected, replacing the previous "No devices detected" page in MainWindow.
- Replaced ClickableLabel with ZLabel in ifusewidget.h for improved UI consistency.
- Removed PCFileExplorerWidget and its associated header file, streamlining the codebase.
- Updated PhotoImportDialog to improve server start process and UI elements, including renaming buttons and adjusting labels.
- Modified RealtimeScreenWidget to increase delay before initializing screenshot service for better reliability.
- Enhanced SimpleHttpServer to include a method for retrieving the JSON file name.
- Updated ToolboxWidget to integrate WirelessPhotoImportWidget, allowing for wireless photo imports.
- Added WirelessPhotoImportWidget to facilitate the selection and import of photos, including a tutorial video feature.
- Created a new WelcomeWidget to guide users on connecting their iOS devices.
2025-10-18 22:16:15 +00:00

31 lines
672 B
C++

#ifndef DEVICEDATABASE_H
#define DEVICEDATABASE_H
#include "libirecovery.h"
#include <string>
struct DeviceDatabaseInfo {
const char *modelIdentifier;
const char *boardId;
int boardNumber;
int chipId;
const char *marketingName;
const char *displayName;
};
class DeviceDatabase
{
public:
DeviceDatabase() = delete;
static const DeviceDatabaseInfo *
findByIdentifier(const std::string &identifier);
static const DeviceDatabaseInfo *findByHwModel(const std::string &hwModel);
static std::string parseRegionInfo(const std::string &code);
private:
static const DeviceDatabaseInfo m_devices[];
};
#endif // DEVICEDATABASE_H