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 DeskSaveOrder extends BoundsOrder {
24: private int m_offset = 0;
25: private int m_action = 0;
26:
27: public DeskSaveOrder() {
28: super ();
29: }
30:
31: public int getOffset() {
32: return m_offset;
33: }
34:
35: public int getAction() {
36: return m_action;
37: }
38:
39: public void setOffset(int offset) {
40: m_offset = offset;
41: }
42:
43: public void setAction(int action) {
44: m_action = action;
45: }
46:
47: public void reset() {
48: super .reset();
49: m_offset = 0;
50: m_action = 0;
51: }
52: }
|