fileintf.h

来自「电信的97接口程序,用于把话单入库。这里是采用FTP方式采集话单」· C头文件 代码 · 共 34 行

H
34
字号
/*-----------------------------------------------------------------
 fileIntf.h Functions for files operation

 2002/05/21
	Started by zoohoo@163.com

-----------------------------------------------------------------*/
#ifndef __FILE_INTF_H
#define __FILE_LITF_H

#include "global.h"
#include <ptclib/ftp.h>

#define COLUMN_NUMBER	16	// the number of column in CDR files
#define FSUCCESS		"success.tmp" // The temporary for success cdr
#define FFAILURE		"failure.tmp" // The temporary for failure cdr
// combine the functions for operating files
// into class
class CFileIntf
{
public:
	UserInterface userInterface;
	
	// the function for ftp
	int		GetValueFromLine(PString line);
	void	SetInterfaceValue(int num, char * buffer);
	void	SetBackFileName(PString * filename, PString chr);

	// the function for share directory
	int		SaveToFile(PString filename); 
};

#endif /* __FILE_LITF_H */

⌨️ 快捷键说明

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