01: ///////////////////////////////////////////////////////////////////////////////
02: //
03: // This program is free software; you can redistribute it and/or modify
04: // it under the terms of the GNU General Public License and GNU Library
05: // General Public License as published by the Free Software Foundation;
06: // either version 2, or (at your option) any later version.
07: //
08: // This program is distributed in the hope that it will be useful,
09: // but WITHOUT ANY WARRANTY; without even the implied warranty of
10: // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11: // GNU General Public License and GNU Library General Public License
12: // for more details.
13: //
14: // You should have received a copy of the GNU General Public License
15: // and GNU Library General Public License along with this program; if
16: // not, write to the Free Software Foundation, 675 Mass Ave, Cambridge,
17: // MA 02139, USA.
18: //
19: //////////////////////////////////////////////////////////////////////////////
20:
21: package org.rdesktop.server.rdp.orders;
22:
23: public class DestBltOrder implements Order {
24: private int m_x = 0;
25: private int m_y = 0;
26: private int m_cx = 0;
27: private int m_cy = 0;
28: private int m_opcode = 0;
29:
30: public DestBltOrder() {
31: }
32:
33: public int getX() {
34: return m_x;
35: }
36:
37: public int getY() {
38: return m_y;
39: }
40:
41: public int getCX() {
42: return m_cx;
43: }
44:
45: public int getCY() {
46: return m_cy;
47: }
48:
49: public int getOpcode() {
50: return m_opcode;
51: }
52:
53: public void setX(int x) {
54: m_x = x;
55: }
56:
57: public void setY(int y) {
58: m_y = y;
59: }
60:
61: public void setCX(int cx) {
62: m_cx = cx;
63: }
64:
65: public void setCY(int cy) {
66: m_cy = cy;
67: }
68:
69: public void setOpcode(int opcode) {
70: m_opcode = opcode;
71: }
72:
73: public void reset() {
74: m_x = 0;
75: m_y = 0;
76: m_cx = 0;
77: m_cy = 0;
78: m_opcode = 0;
79: }
80: }
|