virtual void imageRect(const Rect& r, void* pixels);
virtual void copyRect(const Rect& r, int srcX, int srcY);
+ virtual bool processFTMsg(int type) = 0;
+
ConnParams cp;
};
}
case msgTypeSetColourMapEntries: readSetColourMapEntries(); break;
case msgTypeBell: readBell(); break;
case msgTypeServerCutText: readServerCutText(); break;
+ case msgTypeFileListData:
+ handler->processFTMsg(type); break;
default:
fprintf(stderr, "unknown message type %d\n", type);
throw Exception("unknown message type");
bool
FileTransfer::processFTMsg(int type)
{
- if (m_bInitialized) return false;
+ if (!m_bInitialized) return false;
switch (type)
{
return true;
}
+bool CView::processFTMsg(int type)
+{
+ return m_fileTransfer.processFTMsg(type);
+}
\ No newline at end of file
// Global user-config registry key
static RegKey userConfigKey;
+ bool processFTMsg(int type);
+
protected:
// Locally-rendered VNC cursor