Merge "Drop '#include "ui.h"' from device.h."

This commit is contained in:
Tao Bao
2018-05-01 01:54:45 +00:00
committed by Gerrit Code Review
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -16,6 +16,8 @@
#include "device.h" #include "device.h"
#include "ui.h"
static const char* MENU_ITEMS[] = { static const char* MENU_ITEMS[] = {
"Reboot system now", "Reboot system now",
"Reboot to bootloader", "Reboot to bootloader",
+2 -1
View File
@@ -17,7 +17,8 @@
#ifndef _RECOVERY_DEVICE_H #ifndef _RECOVERY_DEVICE_H
#define _RECOVERY_DEVICE_H #define _RECOVERY_DEVICE_H
#include "ui.h" // Forward declaration to avoid including "ui.h".
class RecoveryUI;
class Device { class Device {
public: public: