📄 nulldriver.h
字号:
/***************************************************************************
nulldriverin.h - description
-------------------
begin : Sun Apr 29 2001
copyright : (C) 2001 by Birdy57 & Surfufu
email :
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef NULLDRIVERIN_H
#define NULLDRIVERIN_H
#include "cparamconfig.h"
#include "cmsgerror.h"
/**
*@author Birdy57 & Surfufu
*/
class CNullDriver
{
public:
CNullDriver();
virtual ~ CNullDriver();
// Connection */
virtual bool Connect();
// Deconnection */
virtual bool Disconnect();
// Ecriture de nSize octet,
// la fonction retourne le nombre d'octet reelement ecrit ou ERROR
virtual int Write(char *pData, int nSize);
// Lecture de nSize octet(s)
virtual int Read(char *pData, int nSize);
/** Fournit le pointeur sur la structure des parametres */
virtual CParamConfig * GetRequest();
// Lecture du nr de l'erreur
virtual int GetErrorNbr();
// on est connect
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -