You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.1 KiB
C++

// LaiPuLaser.h : LaiPuLaser 应用程序的主头文件
//
#pragma once
#ifndef __AFXWIN_H__
#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
#endif
#include "resource.h" // 主符号
#include "ModuleDeviceMgr.h"
// CLaiPuLaserApp:
// 有关此类的实现,请参阅 LaiPuLaser.cpp
//
class CAboutDlg : public CDialogEx
{
public:
CAboutDlg();
// 对话框数据
enum { IDD = IDD_ABOUTBOX };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
virtual BOOL OnInitDialog();
// 实现
protected:
DECLARE_MESSAGE_MAP()
};
class CLaiPuLaserApp : public CWinAppEx
{
public:
CLaiPuLaserApp();
// 重写
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
// 实现
UINT m_nAppLook;
BOOL m_bHiColorIcons;
virtual void PreLoadState();
virtual void LoadCustomState();
virtual void SaveCustomState();
afx_msg void OnAppAbout();
void AppExit();
DECLARE_MESSAGE_MAP()
private:
void LaiPuAppInitialize();
BOOL FindProcess(CString strFindFile);
};
extern CLaiPuLaserApp theApp;