1 /**************************************************************************/ 2 /* */ 3 /* Copyright (c) 2001, 2011 NoMachine (http://www.nomachine.com) */ 4 /* Copyright (c) 2008-2014 Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> */ 5 /* Copyright (c) 2014-2016 Ulrich Sibiller <uli42@gmx.de> */ 6 /* Copyright (c) 2014-2016 Mihai Moldovan <ionic@ionic.de> */ 7 /* Copyright (c) 2011-2016 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>*/ 8 /* Copyright (c) 2015-2016 Qindel Group (http://www.qindel.com) */ 9 /* */ 10 /* NXCOMP, NX protocol compression and NX extensions to this software */ 11 /* are copyright of the aforementioned persons and companies. */ 12 /* */ 13 /* Redistribution and use of the present software is allowed according */ 14 /* to terms specified in the file LICENSE.nxcomp which comes in the */ 15 /* source distribution. */ 16 /* */ 17 /* All rights reserved. */ 18 /* */ 19 /* NOTE: This software has received contributions from various other */ 20 /* contributors, only the core maintainers and supporters are listed as */ 21 /* copyright holders. Please contact us, if you feel you should be listed */ 22 /* as copyright holder, as well. */ 23 /* */ 24 /**************************************************************************/ 25 26 #ifndef RenderFreeGlyphSet_H 27 #define RenderFreeGlyphSet_H 28 29 // 30 // Define the characteristics 31 // of this message class here. 32 // 33 34 #undef MESSAGE_NAME 35 #define MESSAGE_NAME "RenderFreeGlyphSet" 36 37 #undef MESSAGE_STORE 38 #define MESSAGE_STORE RenderFreeGlyphSetStore 39 40 #undef MESSAGE_CLASS 41 #define MESSAGE_CLASS RenderMinorExtensionStore 42 43 #undef MESSAGE_METHODS 44 #define MESSAGE_METHODS "RenderMinorExtensionMethods.h" 45 46 #undef MESSAGE_HEADERS 47 #define MESSAGE_HEADERS "RenderMinorExtensionHeaders.h" 48 49 #undef MESSAGE_TAGS 50 #define MESSAGE_TAGS "RenderMinorExtensionTags.h" 51 52 #undef MESSAGE_OFFSET 53 #define MESSAGE_OFFSET 8 54 55 #undef MESSAGE_HAS_SIZE 56 #define MESSAGE_HAS_SIZE 0 57 58 #undef MESSAGE_HAS_DATA 59 #define MESSAGE_HAS_DATA 0 60 61 #undef MESSAGE_HAS_FILTER 62 #define MESSAGE_HAS_FILTER 0 63 64 // 65 // Declare the message class. 66 // 67 68 #include MESSAGE_HEADERS 69 70 class MESSAGE_STORE : public MESSAGE_CLASS 71 { 72 public: 73 name()74 virtual const char *name() const 75 { 76 return MESSAGE_NAME; 77 } 78 identitySize(const unsigned char * buffer,unsigned int size)79 virtual int identitySize(const unsigned char *buffer, 80 unsigned int size) 81 { 82 return MESSAGE_OFFSET; 83 } 84 85 #include MESSAGE_METHODS 86 }; 87 88 #endif /* RenderFreeGlyphSet_H */ 89