private static VncViewer applet; | private static VncViewer applet; | ||||
private String defaultServerName; | private String defaultServerName; | ||||
int VNCSERVERNAMELEN = 64; | |||||
int VNCSERVERNAMELEN = 256; | |||||
CharBuffer vncServerName = CharBuffer.allocate(VNCSERVERNAMELEN); | CharBuffer vncServerName = CharBuffer.allocate(VNCSERVERNAMELEN); | ||||
public static void setLookAndFeel() { | public static void setLookAndFeel() { |
#ifndef __VNCVIEWER_H__ | #ifndef __VNCVIEWER_H__ | ||||
#define __VNCVIEWER_H__ | #define __VNCVIEWER_H__ | ||||
#define VNCSERVERNAMELEN 64 | |||||
#define VNCSERVERNAMELEN 256 | |||||
void exit_vncviewer(const char *error = NULL); | void exit_vncviewer(const char *error = NULL); | ||||
bool should_exit(); | bool should_exit(); |