E3 Designers / Menu

Dependents:   mbed_escm2000

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers FactoryResetMenu.h Source File

FactoryResetMenu.h

00001 /**************************************************************************
00002  * @file     FactorResetMenu.h
00003  * @brief    Base class for implementing the Factor Reset Menu display
00004  * @version: V1.0
00005  * @date:    9/17/2019
00006 
00007  *
00008  * @note
00009  * Copyright (C) 2019 E3 Design. All rights reserved.
00010  *
00011  * @par
00012  * E3 Designers LLC is supplying this software for use with Cortex-M3 LPC1768
00013  * processor based microcontroller for the ESCM 2000 Monitor and Display.  
00014  *  *
00015  * @par
00016  * THIS SOFTWARE IS PROVIDED "AS IS".  NO WARRANTIES, WHETHER EXPRESS, IMPLIED
00017  * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
00018  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
00019  * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
00020  * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
00021  *
00022  ******************************************************************************/
00023 #ifndef FACTORYRESET_MENU_H
00024 #define FACTORYRESET_MENU_H
00025 
00026 #include "mbed.h"
00027 #include "Menu.h"
00028 #include "LCD.h"
00029 #include "AddressMap.h"
00030 
00031 class FactoryResetMenu : public Menu 
00032 {
00033    public :
00034         int active_selection;
00035         FactoryResetMenu(char* id);
00036         
00037         void display(LCD * lcd);
00038     
00039         virtual void pressMode();        
00040         virtual void pressSet();  
00041         virtual void init();
00042         
00043         virtual char* getText() { return "Factory Reset"; }
00044         
00045 };
00046 
00047 
00048 #endif