You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMsgHandler.cxx 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /* Copyright (C) 2002-2003 RealVNC Ltd. All Rights Reserved.
  2. *
  3. * This is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License as published by
  5. * the Free Software Foundation; either version 2 of the License, or
  6. * (at your option) any later version.
  7. *
  8. * This software is distributed in the hope that it will be useful,
  9. * 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 for more details.
  12. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this software; if not, write to the Free Software
  15. * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
  16. * USA.
  17. */
  18. #include <rfb/Exception.h>
  19. #include <rfb/CMsgHandler.h>
  20. using namespace rfb;
  21. CMsgHandler::CMsgHandler()
  22. {
  23. }
  24. CMsgHandler::~CMsgHandler()
  25. {
  26. }
  27. void CMsgHandler::setDesktopSize(int width, int height)
  28. {
  29. cp.width = width;
  30. cp.height = height;
  31. }
  32. void CMsgHandler::setCursor(const Point& hotspot, const Point& size, void* data, void* mask)
  33. {
  34. }
  35. void CMsgHandler::setPixelFormat(const PixelFormat& pf)
  36. {
  37. cp.setPF(pf);
  38. }
  39. void CMsgHandler::setName(const char* name)
  40. {
  41. cp.setName(name);
  42. }
  43. void CMsgHandler::serverInit()
  44. {
  45. throw Exception("CMsgHandler::serverInit called");
  46. }
  47. void CMsgHandler::framebufferUpdateStart()
  48. {
  49. }
  50. void CMsgHandler::framebufferUpdateEnd()
  51. {
  52. }
  53. void CMsgHandler::beginRect(const Rect& r, unsigned int encoding)
  54. {
  55. }
  56. void CMsgHandler::endRect(const Rect& r, unsigned int encoding)
  57. {
  58. }
  59. void CMsgHandler::setColourMapEntries(int firstColour, int nColours,
  60. rdr::U16* rgbs)
  61. {
  62. throw Exception("CMsgHandler::setColourMapEntries called");
  63. }
  64. void CMsgHandler::bell()
  65. {
  66. }
  67. void CMsgHandler::serverCutText(const char* str, int len)
  68. {
  69. }
  70. void CMsgHandler::fillRect(const Rect& r, Pixel pix)
  71. {
  72. }
  73. void CMsgHandler::imageRect(const Rect& r, void* pixels)
  74. {
  75. }
  76. void CMsgHandler::copyRect(const Rect& r, int srcX, int srcY)
  77. {
  78. }