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

#include <SArray.h>
#include <PArray.h>

class FileSlide
{
private:
  bool            m_fCommentary;  //  
  PArray<CString> m_strings;      //         
  PArray<CString> m_movedStrings; //   
  SArray<bool>    m_isComment;    //   
public:
         FileSlide( LPCTSTR fileNameOld, LPCTSTR fileNameNew, int x, int y );
        ~FileSlide();

  bool    MoveElement ( CString & s, int x, int y );
  bool    IsCommentary( CString & buff );
  bool    ReadStrings ( CStdioFile & file );
  bool    WriteStrings( CStdioFile & file );
  bool    MoveElements(  int x, int y );
};

#endif