page2.h

来自「一个简单的操作系统」· C头文件 代码 · 共 76 行

H
76
字号
#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 mkdir(char *name);
	void executive(char *contect, int num);
	void dir();
	int del(char *name);
	int create(char *name);
	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_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?