Release 1.01
FactoryResetMenu.h@5:9f4d4f8ffc00, 2019-09-17 (annotated)
- Committer:
- foxbrianr
- Date:
- Tue Sep 17 13:48:22 2019 +0000
- Revision:
- 5:9f4d4f8ffc00
- Parent:
- 4:7226c43320b5
Beta 2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
foxbrianr | 5:9f4d4f8ffc00 | 1 | /************************************************************************** |
foxbrianr | 5:9f4d4f8ffc00 | 2 | * @file FactorResetMenu.h |
foxbrianr | 5:9f4d4f8ffc00 | 3 | * @brief Base class for implementing the Factor Reset Menu display |
foxbrianr | 5:9f4d4f8ffc00 | 4 | * @version: V1.0 |
foxbrianr | 5:9f4d4f8ffc00 | 5 | * @date: 9/17/2019 |
foxbrianr | 5:9f4d4f8ffc00 | 6 | |
foxbrianr | 5:9f4d4f8ffc00 | 7 | * |
foxbrianr | 5:9f4d4f8ffc00 | 8 | * @note |
foxbrianr | 5:9f4d4f8ffc00 | 9 | * Copyright (C) 2019 E3 Design. All rights reserved. |
foxbrianr | 5:9f4d4f8ffc00 | 10 | * |
foxbrianr | 5:9f4d4f8ffc00 | 11 | * @par |
foxbrianr | 5:9f4d4f8ffc00 | 12 | * E3 Designers LLC is supplying this software for use with Cortex-M3 LPC1768 |
foxbrianr | 5:9f4d4f8ffc00 | 13 | * processor based microcontroller for the ESCM 2000 Monitor and Display. |
foxbrianr | 5:9f4d4f8ffc00 | 14 | * * |
foxbrianr | 5:9f4d4f8ffc00 | 15 | * @par |
foxbrianr | 5:9f4d4f8ffc00 | 16 | * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED |
foxbrianr | 5:9f4d4f8ffc00 | 17 | * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF |
foxbrianr | 5:9f4d4f8ffc00 | 18 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. |
foxbrianr | 5:9f4d4f8ffc00 | 19 | * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR |
foxbrianr | 5:9f4d4f8ffc00 | 20 | * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
foxbrianr | 5:9f4d4f8ffc00 | 21 | * |
foxbrianr | 5:9f4d4f8ffc00 | 22 | ******************************************************************************/ |
foxbrianr | 4:7226c43320b5 | 23 | #ifndef FACTORYRESET_MENU_H |
foxbrianr | 4:7226c43320b5 | 24 | #define FACTORYRESET_MENU_H |
foxbrianr | 4:7226c43320b5 | 25 | |
foxbrianr | 4:7226c43320b5 | 26 | #include "mbed.h" |
foxbrianr | 4:7226c43320b5 | 27 | #include "Menu.h" |
foxbrianr | 4:7226c43320b5 | 28 | #include "LCD.h" |
foxbrianr | 4:7226c43320b5 | 29 | #include "AddressMap.h" |
foxbrianr | 4:7226c43320b5 | 30 | |
foxbrianr | 4:7226c43320b5 | 31 | class FactoryResetMenu : public Menu |
foxbrianr | 4:7226c43320b5 | 32 | { |
foxbrianr | 4:7226c43320b5 | 33 | public : |
foxbrianr | 4:7226c43320b5 | 34 | int active_selection; |
foxbrianr | 4:7226c43320b5 | 35 | FactoryResetMenu(char* id); |
foxbrianr | 4:7226c43320b5 | 36 | |
foxbrianr | 4:7226c43320b5 | 37 | void display(LCD * lcd); |
foxbrianr | 4:7226c43320b5 | 38 | |
foxbrianr | 4:7226c43320b5 | 39 | virtual void pressMode(); |
foxbrianr | 4:7226c43320b5 | 40 | virtual void pressSet(); |
foxbrianr | 4:7226c43320b5 | 41 | virtual void init(); |
foxbrianr | 4:7226c43320b5 | 42 | |
foxbrianr | 4:7226c43320b5 | 43 | virtual char* getText() { return "Factory Reset"; } |
foxbrianr | 4:7226c43320b5 | 44 | |
foxbrianr | 4:7226c43320b5 | 45 | }; |
foxbrianr | 4:7226c43320b5 | 46 | |
foxbrianr | 4:7226c43320b5 | 47 | |
foxbrianr | 4:7226c43320b5 | 48 | #endif |