qsipb_stpnkeep.h

来自「sip torture test tools」· C头文件 代码 · 共 43 行

H
43
字号
//qsipb_stpnkeep.h//Copyright (C) 2003 Metalink LTD//Author: Rodionov Sergey (seger@metalinkltd.com)//This program is distributed under terms of GPL (see LICENSE)//packet number keep// (how long we must keep packet)#ifndef __SEGER__MLTD__QSIPB_STPNKEEP_H__#define __SEGER__MLTD__QSIPB_STPNKEEP_H__class sipb_stpnkeep  //only information (with out GUI){ public:   sipb_stpnkeep();  //create value by default public:   bool ak_err;   //always keep error-packet   bool ak_warn;  //always keep warning-packet   bool ak_good;  //always keep good packet   int nk;        //number packet that we must keep (expet always keep)};#include <qvgroupbox.h>#include <qlineedit.h>#include <qcheckbox.h>class qsipb_stpnkeep:public QVGroupBox // (GUI for that){ public:   qsipb_stpnkeep(QWidget* parent,sipb_stpnkeep& def);   sipb_stpnkeep get_rez(); private:   QLineEdit* le;   QCheckBox* b_e,*b_w,*b_g;};//parameters by defaultconst bool DEF_NK_AK_ERR=true;const bool DEF_NK_AK_WARN=true;const bool DEF_NK_AK_GOOD=false;const int  DEF_NK_NK=1000;#endif

⌨️ 快捷键说明

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