// PrintToFile.h: interface for the CPrintToFile class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PRINTTOFILE_H__D85C8A0E_7F9F_4819_BE03_839503AE0482__INCLUDED_)
#define AFX_PRINTTOFILE_H__D85C8A0E_7F9F_4819_BE03_839503AE0482__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifdef  BUILD_GUIDLL
#define     DLLCLASS    __declspec(dllexport)
#else
#define     DLLCLASS    __declspec(dllimport)
#endif

class DLLCLASS CPrintToFile
{
public:

// report type used in Datalog Printing
    enum REPORT_TYPE
    {
        LOT_REPORT,
        MSG_REPORT,
        PKG_REPORT,
        MOTOR_POS_REPORT,
        DEVICE_INFO_REPORT,
        RECIPE_ALL_REPORT,
    };

    static bool PrintListCtrlToAFile(CListCtrl& listCtrl, int ntype, CString csFilename, CString &csReportFileName);
    CPrintToFile();
    virtual ~CPrintToFile();
};

#endif // !defined(AFX_PRINTTOFILE_H__D85C8A0E_7F9F_4819_BE03_839503AE0482__INCLUDED_)
