/indra/newview/llviewergenericmessage.h

https://bitbucket.org/lindenlab/viewer-beta/ · C++ Header · 45 lines · 11 code · 8 blank · 26 comment · 0 complexity · 462ed61fdb6a3ef786946703b7e0f762 MD5 · raw file

  1. /**
  2. * @file llviewergenericmessage.h
  3. * @brief Handle processing of "generic messages" which contain short lists of strings.
  4. * @author James Cook
  5. *
  6. * $LicenseInfo:firstyear=2007&license=viewerlgpl$
  7. * Second Life Viewer Source Code
  8. * Copyright (C) 2010, Linden Research, Inc.
  9. *
  10. * This library is free software; you can redistribute it and/or
  11. * modify it under the terms of the GNU Lesser General Public
  12. * License as published by the Free Software Foundation;
  13. * version 2.1 of the License only.
  14. *
  15. * This library is distributed in the hope that it will be useful,
  16. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  18. * Lesser General Public License for more details.
  19. *
  20. * You should have received a copy of the GNU Lesser General Public
  21. * License along with this library; if not, write to the Free Software
  22. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  23. *
  24. * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
  25. * $/LicenseInfo$
  26. */
  27. #ifndef LLVIEWERGENERICMESSAGE_H
  28. #define LLVIEWERGENERICMESSAGE_H
  29. class LLUUID;
  30. class LLDispatcher;
  31. class LLMessageSystem;
  32. void send_generic_message(const std::string& method,
  33. const std::vector<std::string>& strings,
  34. const LLUUID& invoice = LLUUID::null);
  35. void process_generic_message(LLMessageSystem* msg, void**);
  36. extern LLDispatcher gGenericDispatcher;
  37. #endif