#if !defined(AFX_PAGE2_H__63B76D5A_4176_4B25_8B4F_98E535F91F7B__INCLUDED_)
#define AFX_PAGE2_H__63B76D5A_4176_4B25_8B4F_98E535F91F7B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Page2.h : header file
//
//#include "exe.h"
//#include <string.h>
/////////////////////////////////////////////////////////////////////////////
// CPage2 dialog
class CPage2 : public CDialog
{
// Construction
public:
int write(int fd, char *buf, int len);
int rmdir(char *name);
int read(int fd, char *buf);
void print();
int open(char *name);
int mov(char *name1, char *name2);
int mkdir(char *name);
void executive(char *contect, int num);
void dir();
int del(char *name);
int create(char *name);
int copy(char *name1, char *name2);
int close(char *name);
int chdir(char *name);
void format();
void enter();
void initfile();
CPage2(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CPage2)
enum { IDD = IDD_DIALOG2 };
CString m_cmd;
CString m_display;
//}}AFX_DATA
char *bufferdir; /*記錄當前路徑的名稱*/
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPage2)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CPage2)
afx_msg void OnBootf();
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
typedef struct ico
{
int x1;
int y1;
int x2;
int y2;
}graph;
//
//
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PAGE2_H__63B76D5A_4176_4B25_8B4F_98E535F91F7B__INCLUDED_)