#ifndef pfodErase_h
#define pfodErase_h
/*
 * (c)2014-2017 Forward Computing and Control Pty. Ltd.
 * NSW Australia, www.forward.com.au
 * This code is not warranted to be fit for any purpose. You may only use it at your own risk.
 * This code may be freely used for both private and commercial use
 * Provide this copyright is maintained.
 */
#include <stdint.h>
#include <Arduino.h>
#include "pfodDwgsBase.h"

class pfodErase : public pfodDwgsBase {
  public:
    pfodErase();
    pfodErase &idx(uint16_t _idx); // for indexed items default 0 i.e. not set
    pfodErase &idx(pfodAutoIdx &a_idx); 
    pfodErase &cmd(const char _cmd); // for touchZones default ' ' i.e. not set
    pfodErase &cmd(const char* _cmdStr);
    pfodErase &cmd(pfodAutoCmd &a_Cmd);
    pfodErase &loadCmd(const char _loadCmd); // for insertDwgs default ' ' i.e. not set
    pfodErase &loadCmd(const char* _loadCmdStr);
    pfodErase &loadCmd(pfodAutoCmd &a_Cmd);
    void init(Print *out, struct pfodDwgVALUES* _values);
    void send(char _startChar = '|');
};
#endif // pfodErase_h
