📄 telcal.h
字号:
// telcal.h : main header file for the TELCAL application
//
#if !defined(AFX_TELCAL_H__5C99DDEF_F5BE_489C_9ED5_3DC4B3A06D8A__INCLUDED_)
#define AFX_TELCAL_H__5C99DDEF_F5BE_489C_9ED5_3DC4B3A06D8A__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
/////////////////////////////////////////////////////////////////////////////
// CTelcalApp:
// See telcal.cpp for the implementation of this class
//
class CTelcalApp : public CWinApp
{
public:
CTelcalApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTelcalApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CTelcalApp)
afx_msg void OnAppAbout();
// 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()
protected:
BOOL GetFillFilePath(char *path);
};
/////////////////////////////////////////////////////////////////////////////
struct TELREC
{
BOOL direction; // 方向(进、出)
CHAR number[24]; // 对方号码
WORD type; // 通话类别
CHAR typesms[32]; // 短信类别
WORD place; //
LONG timer; // long
CHAR time[24]; //
FLOAT cost_basic; // 基础/基本话费
FLOAT cost_move; // 漫游
FLOAT cost_far; // 长途/信息费
FLOAT cost; // 合计
};
#define MAX_TEL 1000 // 最多条数
#define MYPHONE_PLACE 755
#define MYTEL_IP "17911"
extern CHAR MYPHONE_PLACE_C[];
extern CString m_FileDirectory; // 软件运行目录
extern CString FileName; // 传递文件名
extern WORD my_TEL_MAX;
extern WORD m_list_type;
extern struct TELREC my_TEL[MAX_TEL];
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TELCAL_H__5C99DDEF_F5BE_489C_9ED5_3DC4B3A06D8A__INCLUDED_)
//26750575 2005-12-02 11:22:38 0分57秒 0755 0.00 0.00 主叫 0.00(元)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -