diff options
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -47,6 +47,7 @@ class Device { MOUNT_SYSTEM = 10, RUN_GRAPHICS_TEST = 11, RUN_LOCALE_TEST = 12, + KEY_INTERRUPTED = 13, }; explicit Device(RecoveryUI* ui); @@ -118,8 +119,12 @@ class Device { std::unique_ptr<RecoveryUI> ui_; }; +// Disable name mangling, as this function will be loaded via dlsym(3). +extern "C" { + // The device-specific library must define this function (or the default one will be used, if there // is no device-specific library). It returns the Device object that recovery should use. Device* make_device(); +} #endif // _DEVICE_H |