62 lines
1.7 KiB
C
62 lines
1.7 KiB
C
|
// EBook.h : main header file for the EBOOK application
|
|||
|
//
|
|||
|
#include "..\Comm\COMM.h"
|
|||
|
#if !defined(AFX_EBOOK_H__BAD4F1A3_4C7C_4565_87A6_900AE52E1557__INCLUDED_)
|
|||
|
#define AFX_EBOOK_H__BAD4F1A3_4C7C_4565_87A6_900AE52E1557__INCLUDED_
|
|||
|
|
|||
|
#if _MSC_VER >= 1000
|
|||
|
#pragma once
|
|||
|
#endif // _MSC_VER >= 1000
|
|||
|
|
|||
|
#ifndef __AFXWIN_H__
|
|||
|
#error include 'stdafx.h' before including this file for PCH
|
|||
|
#endif
|
|||
|
|
|||
|
#include "resource.h" // main symbols
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
// CEBookApp:
|
|||
|
// See EBook.cpp for the implementation of this class
|
|||
|
//
|
|||
|
|
|||
|
class CEBookApp : public CWinApp
|
|||
|
{
|
|||
|
private:
|
|||
|
int m_Language; // <20><>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD>
|
|||
|
bool m_IsBeep; // <20><>ť<EFBFBD><C5A5><EFBFBD><EFBFBD>
|
|||
|
HINSTANCE m_ResourceLib; // <20><><EFBFBD><EFBFBD><EFBFBD>Ծ<EFBFBD><D4BE><EFBFBD>
|
|||
|
public:
|
|||
|
CEBookApp();
|
|||
|
int GetRegLanguage(void);
|
|||
|
bool GetRegBeep();
|
|||
|
HINSTANCE LoadLanguageRes(int iLanguage);
|
|||
|
HINSTANCE GetResourceLib(void);
|
|||
|
void PlayMsgSound(int iSound = -1);
|
|||
|
bool GetBeep(void);
|
|||
|
int GetLanguage(void);
|
|||
|
// Overrides
|
|||
|
// ClassWizard generated virtual function overrides
|
|||
|
//{{AFX_VIRTUAL(CEBookApp)
|
|||
|
public:
|
|||
|
virtual BOOL InitInstance();
|
|||
|
virtual int ExitInstance();
|
|||
|
//}}AFX_VIRTUAL
|
|||
|
|
|||
|
// Implementation
|
|||
|
|
|||
|
//{{AFX_MSG(CEBookApp)
|
|||
|
// NOTE - the ClassWizard will add and remove member functions here.
|
|||
|
// DO NOT EDIT what you see in these blocks of generated code !
|
|||
|
//}}AFX_MSG
|
|||
|
DECLARE_MESSAGE_MAP()
|
|||
|
};
|
|||
|
|
|||
|
extern CEBookApp theApp;
|
|||
|
|
|||
|
/////////////////////////////////////////////////////////////////////////////
|
|||
|
|
|||
|
//{{AFX_INSERT_LOCATION}}
|
|||
|
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
|
|||
|
|
|||
|
#endif // !defined(AFX_EBOOK_H__BAD4F1A3_4C7C_4565_87A6_900AE52E1557__INCLUDED_)
|