aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/ActionCacheCompat.h
diff options
context:
space:
mode:
Diffstat (limited to 'nxcomp/ActionCacheCompat.h')
-rwxr-xr-xnxcomp/ActionCacheCompat.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/nxcomp/ActionCacheCompat.h b/nxcomp/ActionCacheCompat.h
new file mode 100755
index 000000000..1577f1c61
--- /dev/null
+++ b/nxcomp/ActionCacheCompat.h
@@ -0,0 +1,45 @@
+/**************************************************************************/
+/* */
+/* Copyright (c) 2001, 2007 NoMachine, http://www.nomachine.com/. */
+/* */
+/* NXCOMP, NX protocol compression and NX extensions to this software */
+/* are copyright of NoMachine. Redistribution and use of the present */
+/* software is allowed according to terms specified in the file LICENSE */
+/* which comes in the source distribution. */
+/* */
+/* Check http://www.nomachine.com/licensing.html for applicability. */
+/* */
+/* NX and NoMachine are trademarks of NoMachine S.r.l. */
+/* */
+/* All rights reserved. */
+/* */
+/**************************************************************************/
+
+#ifndef ActionCacheCompat_H
+#define ActionCacheCompat_H
+
+#include "CharCache.h"
+
+class ActionCacheCompat
+{
+ friend class EncodeBuffer;
+ friend class DecodeBuffer;
+
+ public:
+
+ ActionCacheCompat()
+ {
+ slot_ = 0;
+ }
+
+ ~ActionCacheCompat()
+ {
+ }
+
+ private:
+
+ CharCache base_[4];
+ unsigned char slot_;
+};
+
+#endif /* ActionCacheCompat_H */