recvfile.h
来自「iptux是linux下面能实现类似windows里面飞鸽传书的功能」· C头文件 代码 · 共 44 行
H
44 行
//// C++ Interface: RecvFile//// Description:接受相关的文件信息,不包含文件数据////// Author: Jally <jallyx@163.com>, (C) 2008//// Copyright: See COPYING file that comes with this distribution////#ifndef RECVFILE_H#define RECVFILE_H#include "Pal.h"class RecvFile { public: RecvFile(gpointer data); ~RecvFile(); static void RecvEntry(gpointer data); private: bool GetValidData(); void ParseExtra(); void CreateRecvWindow(); gpointer DivideFileinfo(char **ptr); GtkTreeModel *CreateRecvModel(); GtkWidget *CreateRecvView(); Pal *pal; char *msg; GSList *filelist; uint32_t packetn; GtkTreeModel *file_model;//回调处理部分 private: static void CellEditText(GtkCellRendererText * renderer, gchar * path, gchar * new_text, GtkTreeModel * model); static void AddRecvFile(GtkTreeModel * model);};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?