throw rfb::Exception(msg);
}
- byte b[12];
+ U8 b[12];
readNByte(b, 12);
if (b[0] != 'F' || b[1] != 'B' || b[2] != 'S' || b[3] != ' ' ||
if (start != NULL)
delete [] start;
int realSize = (bufferSize + 3) & 0xFFFFFFFC; // padding to multiple of 32-bits
- ptr = start = new byte[realSize + n];
+ ptr = start = new U8[realSize + n];
end = ptr + bufferSize + n;
if (n) {
memmove(start, tmp, n);
}
int FbsInputStream::readUnsigned32() {
- byte buf[4];
+ U8 buf[4];
if (!readNByte(buf, 4))
return -1;
// Read n-bytes from the session file
//
-bool FbsInputStream::readNByte(byte b[], int n) {
+bool FbsInputStream::readNByte(U8 b[], int n) {
int off = 0;
while (off != n) {
*/
// -=- RFB Player for Win32
-
#include <windows.h>
+#include <commdlg.h>
+#include <shellapi.h>
+
+#include <rfb/LogWriter.h>
#include <rfb_win32/AboutDialog.h>
+#include <rfb_win32/DeviceContext.h>
+#include <rfb_win32/MsgBox.h>
#include <rfb_win32/WMShatter.h>
+#include <rfb_win32/Win32Util.h>
#include <rfbplayer/rfbplayer.h>
#include <rfbplayer/ChoosePixelFormatDialog.h>
#include <rfbplayer/GotoPosDialog.h>
#include <rfbplayer/InfoDialog.h>
#include <rfbplayer/SessionInfoDialog.h>
-
+
using namespace rfb;
using namespace rfb::win32;