1 /**************************************************************************/
2 /*                                                                        */
3 /* Copyright (c) 2001, 2010 NoMachine, http://www.nomachine.com/.         */
4 /*                                                                        */
5 /* NXCOMP, NX protocol compression and NX extensions to this software     */
6 /* are copyright of NoMachine. Redistribution and use of the present      */
7 /* software is allowed according to terms specified in the file LICENSE   */
8 /* which comes in the source distribution.                                */
9 /*                                                                        */
10 /* Check http://www.nomachine.com/licensing.html for applicability.       */
11 /*                                                                        */
12 /* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
13 /*                                                                        */
14 /* All rights reserved.                                                   */
15 /*                                                                        */
16 /**************************************************************************/
17 
18 #ifndef ActionCacheCompat_H
19 #define ActionCacheCompat_H
20 
21 #include "CharCache.h"
22 
23 class ActionCacheCompat
24 {
25   friend class EncodeBuffer;
26   friend class DecodeBuffer;
27 
28   public:
29 
ActionCacheCompat()30   ActionCacheCompat()
31   {
32     slot_ = 0;
33   }
34 
~ActionCacheCompat()35   ~ActionCacheCompat()
36   {
37   }
38 
39   private:
40 
41   CharCache base_[4];
42   unsigned char slot_;
43 };
44 
45 #endif /* ActionCacheCompat_H */
46