diff options
author | Tao Bao <tbao@google.com> | 2018-05-01 03:54:45 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-05-01 03:54:45 +0200 |
commit | 2de12da142af4dc8386ea3b6838d3e10ea9bf20a (patch) | |
tree | 70d96e99ec327a6a6ef328193c6d880252668bc8 | |
parent | Merge changes I78839ed4,I75ac0e26 (diff) | |
parent | Drop '#include "ui.h"' from device.h. (diff) | |
download | android_bootable_recovery-2de12da142af4dc8386ea3b6838d3e10ea9bf20a.tar android_bootable_recovery-2de12da142af4dc8386ea3b6838d3e10ea9bf20a.tar.gz android_bootable_recovery-2de12da142af4dc8386ea3b6838d3e10ea9bf20a.tar.bz2 android_bootable_recovery-2de12da142af4dc8386ea3b6838d3e10ea9bf20a.tar.lz android_bootable_recovery-2de12da142af4dc8386ea3b6838d3e10ea9bf20a.tar.xz android_bootable_recovery-2de12da142af4dc8386ea3b6838d3e10ea9bf20a.tar.zst android_bootable_recovery-2de12da142af4dc8386ea3b6838d3e10ea9bf20a.zip |
-rw-r--r-- | device.cpp | 2 | ||||
-rw-r--r-- | device.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/device.cpp b/device.cpp index f881daff6..3b0942c49 100644 --- a/device.cpp +++ b/device.cpp @@ -16,6 +16,8 @@ #include "device.h" +#include "ui.h" + static const char* MENU_ITEMS[] = { "Reboot system now", "Reboot to bootloader", @@ -17,7 +17,8 @@ #ifndef _RECOVERY_DEVICE_H #define _RECOVERY_DEVICE_H -#include "ui.h" +// Forward declaration to avoid including "ui.h". +class RecoveryUI; class Device { public: |