PageRenderTime 14ms CodeModel.GetById 9ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/newview/llfloaterchatterbox.h

https://bitbucket.org/lindenlab/viewer-beta/
C Header | 80 lines | 38 code | 15 blank | 27 comment | 0 complexity | 50e26deb0b97f37eb6a07c570b2a3cec MD5 | raw file
Possible License(s): LGPL-2.1
  1. /**
  2. * @file llfloaterchatterbox.h
  3. * @author Richard
  4. * @date 2007-05-04
  5. * @brief Integrated friends and group management/communication tool
  6. *
  7. * $LicenseInfo:firstyear=2007&license=viewerlgpl$
  8. * Second Life Viewer Source Code
  9. * Copyright (C) 2010, 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_LLFLOATERCHATTERBOX_H
  29. #define LL_LLFLOATERCHATTERBOX_H
  30. #include "llfloater.h"
  31. #include "llmultifloater.h"
  32. #include "llstring.h"
  33. #include "llimpanel.h"
  34. class LLTabContainer;
  35. class LLFloaterChatterBox : public LLMultiFloater
  36. {
  37. public:
  38. LLFloaterChatterBox(const LLSD& seed);
  39. virtual ~LLFloaterChatterBox();
  40. /*virtual*/ BOOL postBuild();
  41. /*virtual*/ BOOL handleKeyHere(KEY key, MASK mask);
  42. /*virtual*/ void draw();
  43. /*virtual*/ void onOpen(const LLSD& key);
  44. /*virtual*/ void removeFloater(LLFloater* floaterp);
  45. /*virtual*/ void addFloater(LLFloater* floaterp,
  46. BOOL select_added_floater,
  47. LLTabContainer::eInsertionPoint insertion_point = LLTabContainer::END);
  48. static LLFloaterChatterBox* getInstance(); // *TODO:Skinning Deprecate
  49. static LLFloater* getCurrentVoiceFloater();
  50. protected:
  51. void onVisibilityChange ( const LLSD& new_visibility );
  52. LLFloater* mActiveVoiceFloater;
  53. };
  54. class LLFloaterMyFriends : public LLFloater
  55. {
  56. public:
  57. LLFloaterMyFriends(const LLSD& seed);
  58. virtual ~LLFloaterMyFriends();
  59. /*virtual*/ BOOL postBuild();
  60. /*virtual*/ void onOpen(const LLSD& key);
  61. static LLFloaterMyFriends* getInstance(); // *TODO:Skinning Deprecate
  62. static void* createFriendsPanel(void* data);
  63. static void* createGroupsPanel(void* data);
  64. };
  65. #endif // LL_LLFLOATERCHATTERBOX_H