PageRenderTime 20ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/newview/llfloaterhandler.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 39 lines | 11 code | 4 blank | 24 comment | 0 complexity | d5c190f17a3df983f9fe44ee2482d470 MD5 | raw file
Possible License(s): LGPL-2.1
  1. /**
  2. * $LicenseInfo:firstyear=2008&license=viewerlgpl$
  3. * Second Life Viewer Source Code
  4. * Copyright (C) 2010, Linden Research, Inc.
  5. *
  6. * This library is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation;
  9. * version 2.1 of the License only.
  10. *
  11. * This library is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public
  17. * License along with this library; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  19. *
  20. * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
  21. * $/LicenseInfo$
  22. */
  23. #ifndef LLFLOATERHANDLER_H
  24. #define LLFLOATERHANDLER_H
  25. // Support for SLURL control of floaters, such as
  26. // secondlife:///app/floater/self/close
  27. #include "llcommandhandler.h"
  28. class LLFloaterHandler
  29. : public LLCommandHandler
  30. {
  31. public:
  32. LLFloaterHandler() : LLCommandHandler("floater", UNTRUSTED_BLOCK) { }
  33. bool handle(const LLSD& params, const LLSD& query_map, LLMediaCtrl* web);
  34. };
  35. #endif