1 Star 0 Fork 16

黄新宇/qipmsg

forked from caowai/qipmsg 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ipmsgcommon.h 922 Bytes
一键复制 编辑 原始数据 按行查看 历史
#ifndef IPMSGCOMMON_H
#define IPMSGCOMMON_H
#include <QCoreApplication>
#include <QDir>
#define IPMSG_VERSION "1_QIPMSGV01"
#define IPMSG_DEFAULT_USERNAME "QIPMSG.U"
#define IPMSG_DEFAULT_NICKNAME "QIPMSG.N"
#define IPMSG_DEFAULT_GROUPNAME "QIPMSG"
typedef struct fileEntryInfoT
{
qint64 size;
quint32 permission;
QString fileName;
QString absoluteFilePath;
quint32 fileType;
quint32 metadataChangeTime;
}fileEntryInfoT;
//QFileInfo a;
typedef struct fileEntryT
{
bool fileOut;
quint32 fileId;
fileEntryInfoT info;
quint64 fileOffset;
//If recv file, fileHost is source
//If send file, fileHost is dest
quint32 fileHost;
quint16 filePort;
//IDLE,SENDING,FINISHED. -- send file
//IDLE,RECEIVING,FINISHED -- recv file
quint32 fileTranStatus;
bool fileTranStopFlag;
}fileEntryT;
#endif // IPMSGCOMMON_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/flydilong/qipmsg.git
[email protected]:flydilong/qipmsg.git
flydilong
qipmsg
qipmsg
master

搜索帮助