communication.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /*
  2. * communication.h - header file defining stuff concerning communication between
  3. * LVSL-server and -client
  4. *
  5. * Copyright (c) 2005-2010 Tobias Doerffel <tobydox/at/users.sourceforge.net>
  6. *
  7. * This file is part of LMMS - https://lmms.io
  8. *
  9. * This program is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU General Public
  11. * License as published by the Free Software Foundation; either
  12. * version 2 of the License, or (at your option) any later version.
  13. *
  14. * This program is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. * General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU General Public
  20. * License along with this program (see COPYING); if not, write to the
  21. * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  22. * Boston, MA 02110-1301 USA.
  23. *
  24. */
  25. #ifndef _COMMUNICATION_H
  26. #define _COMMUNICATION_H
  27. #include "RemotePlugin.h"
  28. struct VstParameterDumpItem
  29. {
  30. int32_t index;
  31. std::string shortLabel;
  32. float value;
  33. } ;
  34. enum VstHostLanguages
  35. {
  36. LanguageEnglish = 1,
  37. LanguageGerman,
  38. LanguageFrench,
  39. LanguageItalian,
  40. LanguageSpanish,
  41. LanguageJapanese,
  42. LanguageKorean
  43. } ;
  44. enum VstRemoteMessageIDs
  45. {
  46. // vstPlugin -> remoteVstPlugin
  47. IdVstLoadPlugin = IdUserBase,
  48. IdVstClosePlugin,
  49. IdVstSetTempo,
  50. IdVstSetLanguage,
  51. IdVstGetParameterCount,
  52. IdVstGetParameterDump,
  53. IdVstSetParameterDump,
  54. IdVstProgramNames,
  55. IdVstCurrentProgram,
  56. IdVstCurrentProgramName,
  57. IdVstSetProgram,
  58. IdVstRotateProgram,
  59. IdVstIdleUpdate,
  60. // remoteVstPlugin -> vstPlugin
  61. IdVstFailedLoadingPlugin,
  62. IdVstBadDllFormat,
  63. IdVstPluginWindowID,
  64. IdVstPluginEditorGeometry,
  65. IdVstPluginName,
  66. IdVstPluginVersion,
  67. IdVstPluginVendorString,
  68. IdVstPluginProductString,
  69. IdVstPluginPresetsString,
  70. IdVstPluginUniqueID,
  71. IdVstSetParameter,
  72. IdVstParameterCount,
  73. IdVstParameterDump
  74. } ;
  75. #endif