⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gk.h

📁 电信的97接口程序,用于把话单入库。这里是采用FTP方式采集话单
💻 H
字号:
/*-----------------------------------------------------------------
 gk.h gatekeeper process
 2001/10/30
	Started by shencan@263.net

 2002/01/10
	Add the compiled condition about HENAN by zoohoo@163.com

 2002/05/15
	Add the version control by zoohoo@163.com
	You can see the version information at beginning of log file 
-------------------------------------------------------------------*/


#ifndef _gk_h
#define _gk_h

#include <ptlib.h>

//#define SERVICE
#define ACE_WIN32
/*-------------------------------------------------------------
//#define VERSION 2172
//Combine the program Zhenzhou to file
//You can configure the intfdb.cfg to get version for different area
//#define VERSION 2173
//Combine the program Shenzhen to file
//Use the method of ftp

//Fix the bugs about Shenzhen interface97
//#define VERSION 2175
//Add the watchdog for Henan program
---------------------------------------------------------------*/
#define VERSION 2176

// The short message Interface97 for HENAN
//#define HENAN

#ifdef SERVICE
#include <ptlib/svcproc.h>

class Gatekeeper : public PServiceProcess
{
  PCLASSINFO(Gatekeeper, PServiceProcess)
#else
class Gatekeeper : public PProcess
{
  PCLASSINFO(Gatekeeper, PProcess)
#endif

  public:
	Gatekeeper();
    void Main();

#ifdef SERVICE
	virtual BOOL  OnStart()		{ return 1; };	//Called when the service is started  
	virtual void  OnStop();						//Called by the system when the service is stopped  
	virtual BOOL  OnPause()		{ return 1; };	//Called by the system when the service is to be paused  
	virtual void  OnContinue()	{};				//Resume after the service was paused  
	virtual void  OnControl()	{};				//The Control menu option was used in the SysTray menu  
#endif
};

#endif
 

⌨️ 快捷键说明

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