Error as described in MBs email to MS

Dependencies:   SDFileSystem app epson mbed msp430 pl tests

pagetouch.h

Committer:
marcbax
Date:
2018-01-11
Revision:
1:5874c1a074a7
Parent:
0:c643d398cdb6

File content as of revision 1:5874c1a074a7:

//
// Filename: pagetouch.h
//
// Flexbook page for page A4.
//

// include guards
#ifndef PAGETOUCH_H
#define PAGETOUCH_H

#include "page.h"
#include "pageflexenable.h"
#include "hangman.h"
#include "eink.h"

#include "mbed.h"

#include "at42qt2120.h"

namespace Flexbook
{

class PageTouch : public Page
{
public:
    // Constructor needs to be explicit.
    explicit PageTouch();

    // Destructor.
    virtual ~PageTouch();
    
    //virtual void HandlePageActions();

    int GetKey();
    
private:
    // Disable the copy constructor.
    PageTouch(const PageTouch &);

    // Disable assignment.
    PageTouch &operator=(const PageTouch &);

    void TouchChange();
    PageFlexEnable pageflexenable;
    HangmanGame hangmangame;

    // Touch sensor.
    I2C i2c;
    InterruptIn irq;
    HAL::AT42QT2120 at42qt2120;
    
    int key;
    bool newtouch;
    int imgnumber;

};

} // End Flexbook namespace.

#endif // PAGETOUCH_H