diff options
author | Tao Bao <tbao@google.com> | 2018-08-07 00:32:57 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-08-07 00:32:57 +0200 |
commit | 75acf2420764a882c0a09c177d326b2d6b7c978b (patch) | |
tree | 839f26896f315a82050a4a96480f07b7cb5dc45f /device.h | |
parent | Merge "minui: Move to Soong." (diff) | |
parent | Merge "Dynamically load device-specific recovery UI lib." (diff) | |
download | android_bootable_recovery-75acf2420764a882c0a09c177d326b2d6b7c978b.tar android_bootable_recovery-75acf2420764a882c0a09c177d326b2d6b7c978b.tar.gz android_bootable_recovery-75acf2420764a882c0a09c177d326b2d6b7c978b.tar.bz2 android_bootable_recovery-75acf2420764a882c0a09c177d326b2d6b7c978b.tar.lz android_bootable_recovery-75acf2420764a882c0a09c177d326b2d6b7c978b.tar.xz android_bootable_recovery-75acf2420764a882c0a09c177d326b2d6b7c978b.tar.zst android_bootable_recovery-75acf2420764a882c0a09c177d326b2d6b7c978b.zip |
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -119,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 |