PageRenderTime 44ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/newview/llgesturelistener.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 52 lines | 16 code | 9 blank | 27 comment | 0 complexity | 918500e5af86b5f1d64173daa6ddc39f MD5 | raw file
Possible License(s): LGPL-2.1
  1. /**
  2. * @file llgesturelistener.h
  3. * @author Dave Simmons
  4. * @date 2011-03-15
  5. * @brief Class definition for LLGestureListener.
  6. *
  7. * $LicenseInfo:firstyear=2011&license=viewerlgpl$
  8. * Second Life Viewer Source Code
  9. * Copyright (C) 2011, Linden Research, Inc.
  10. *
  11. * This library is free software; you can redistribute it and/or
  12. * modify it under the terms of the GNU Lesser General Public
  13. * License as published by the Free Software Foundation;
  14. * version 2.1 of the License only.
  15. *
  16. * This library is distributed in the hope that it will be useful,
  17. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  19. * Lesser General Public License for more details.
  20. *
  21. * You should have received a copy of the GNU Lesser General Public
  22. * License along with this library; if not, write to the Free Software
  23. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  24. *
  25. * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
  26. * $/LicenseInfo$
  27. */
  28. #ifndef LL_LLGESTURELISTENER_H
  29. #define LL_LLGESTURELISTENER_H
  30. #include "lleventapi.h"
  31. class LLSD;
  32. class LLGestureListener : public LLEventAPI
  33. {
  34. public:
  35. LLGestureListener();
  36. private:
  37. void getActiveGestures(LLSD const & gesture_data) const;
  38. void isGesturePlaying(LLSD const & gesture_data) const;
  39. void startGesture(LLSD const & gesture_data) const;
  40. void stopGesture(LLSD const & gesture_data) const;
  41. void startOrStopGesture(LLSD const & event_data, bool start) const;
  42. };
  43. #endif // LL_LLGESTURELISTENER_H