Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/external/source/vncdll/winvnc/FileTransferItemInfo.h
Views: 11779
// Copyright (C) 2003 Dennis Syrovatsky. All Rights Reserved.1//2// This file is part of the VNC system.3//4// The VNC system is free software; you can redistribute it and/or modify5// it under the terms of the GNU General Public License as published by6// the Free Software Foundation; either version 2 of the License, or7// (at your option) any later version.8//9// This program is distributed in the hope that it will be useful,10// but WITHOUT ANY WARRANTY; without even the implied warranty of11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12// GNU General Public License for more details.13//14// You should have received a copy of the GNU General Public License15// along with this program; if not, write to the Free Software16// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,17// USA.18//19// TightVNC distribution homepage on the Web: http://www.tightvnc.com/20//21// If the source code for the VNC system is not available from the place22// whence you received this file, check http://www.uk.research.att.com/vnc or contact23// the authors on [email protected] for information on obtaining it.2425#if !defined(FILETRANSFERITEMINFO_H)26#define FILETRANSFERITEMINFO_H2728#include "windows.h"2930typedef struct tagFTITEMINFO31{32char Name[MAX_PATH];33unsigned int Size;34unsigned int Data;35} FTITEMINFO;3637typedef struct tagFTSIZEDATA38{39unsigned int size;40unsigned int data;41} FTSIZEDATA;4243class FileTransferItemInfo44{45public:46int GetNumEntries();47char * GetNameAt(int Number);48unsigned int GetSizeAt(int Number);49unsigned int GetDataAt(int Number);50void Free();51void Add(char *Name, unsigned int Size, unsigned int Data);52int GetSummaryNamesLength();53FileTransferItemInfo();54virtual ~FileTransferItemInfo();5556private:57FTITEMINFO * m_pEntries;58int m_NumEntries;59};6061#endif // !defined(FILETRANSFERITEMINFO_H)626364