Everything works except AMPM and snooze

Dependencies:   4DGL-uLCD-SE EthernetInterface HTTPClient NTPClient PinDetect SDFileSystem mbed-rpc mbed-rtos mbed wave_player

Fork of ECE4180_FinalProject by Paul Rabbat

Formatter.h

Committer:
adaruna3
Date:
2014-12-03
Revision:
9:add6ce18f1b7
Parent:
0:0a99e3fc2a46

File content as of revision 9:add6ce18f1b7:

#ifndef FORMATTER
#define FORMATTER


class Formatter
{
    public :
        
        Formatter(int nbChunk = 1);
        
        char* get_page(char *reply);
        
    protected :
    
        virtual void get_chunk(const int c, char *reply);
        
    private :
    
        int currentChunk;
        int nbChunk;
};

class SimpleHTMLFormatter : public Formatter
{        
    public :
    
        SimpleHTMLFormatter();
        
    protected :
    
        virtual void get_chunk(const int c, char *reply);

};

class InteractiveHTMLFormatter : public Formatter
{
    public :
    
        InteractiveHTMLFormatter();

    protected :
        
        virtual void get_chunk(const int c, char *reply);
};


#endif