PageRenderTime 33ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/llcommon/llclickaction.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 41 lines | 12 code | 1 blank | 28 comment | 0 complexity | 6573e11ee0c4791bedf5e91e850de678 MD5 | raw file
Possible License(s): LGPL-2.1
  1. /**
  2. * @file llclickaction.h
  3. * @author James Cook
  4. * @brief Constants for single-click actions on objects
  5. *
  6. * $LicenseInfo:firstyear=2006&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 LL_LLCLICKACTION_H
  28. #define LL_LLCLICKACTION_H
  29. // DO NOT CHANGE THE SEQUENCE OF THIS LIST!!
  30. const U8 CLICK_ACTION_NONE = 0;
  31. const U8 CLICK_ACTION_TOUCH = 0;
  32. const U8 CLICK_ACTION_SIT = 1;
  33. const U8 CLICK_ACTION_BUY = 2;
  34. const U8 CLICK_ACTION_PAY = 3;
  35. const U8 CLICK_ACTION_OPEN = 4;
  36. const U8 CLICK_ACTION_PLAY = 5;
  37. const U8 CLICK_ACTION_OPEN_MEDIA = 6;
  38. const U8 CLICK_ACTION_ZOOM = 7;
  39. // DO NOT CHANGE THE SEQUENCE OF THIS LIST!!
  40. #endif