eventmachine-vnc 0.2.20101208014816 → 0.2.20101208031111

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,6 +22,10 @@ module EventMachine; module Protocols
22
22
  22 => "Colin Dean xvp",
23
23
  }
24
24
 
25
+ attr_accessor :screen_width
26
+ attr_accessor :screen_height
27
+ attr_accessor :name
28
+
25
29
  KEY_EVENT = 4
26
30
  POINTER_EVENT = 5
27
31
 
@@ -148,6 +152,7 @@ module EventMachine; module Protocols
148
152
  return result
149
153
  end # def consume
150
154
 
155
+ public
151
156
  def error(message)
152
157
  if self.respond_to?(:errback)
153
158
  self.errback(message)
@@ -156,6 +161,7 @@ module EventMachine; module Protocols
156
161
  end
157
162
  end
158
163
 
164
+ public
159
165
  def pointerevent(x, y, buttonmask)
160
166
  message = [ POINTER_EVENT, buttonmask, x, y ].pack("CCnn")
161
167
  send_data(message)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eventmachine-vnc
3
3
  version: !ruby/object:Gem::Version
4
- hash: 40202416029655
4
+ hash: 40202416062233
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 20101208014816
10
- version: 0.2.20101208014816
9
+ - 20101208031111
10
+ version: 0.2.20101208031111
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jordan Sissel