////////////////////////////////////////////////////////////////////////////////
//
// testmov.h - ,    - slide
//
////////////////////////////////////////////////////////////////////////////////
#ifndef __TESTMOV_H
#define __TESTMOV_H

#include <Classes.hpp>

class FileSlide
{
private:
  TFileStream * fOld;
  TFileStream * fNew;
  char        * fileBuff;  //      
  bool        error;       //  
  unsigned    size;        //  
  unsigned    numb;        //   
  bool        fCommentary; //  
public:
         FileSlide( char * fileNameOld, char * fileNameNew );
        ~FileSlide();

  int    MoveElement( char * s, int x, int y );
  void   FSetS ( char *buff );
  char * FGetS( char *buff , int len );
  int    CheckCommentary ( char *s );

  bool   IsError() { return error; }
  void   ToBegin(){ numb = 0; }
};


//-------------------------------------------------------------------------------
//  
// ---
void MoveSlide();

#endif
