PageRenderTime 43ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/newview/llpanelgroupinvite.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 60 lines | 25 code | 8 blank | 27 comment | 0 complexity | 80c7194ad6dd54b49157b1bed1fe8ee1 MD5 | raw file
Possible License(s): LGPL-2.1
  1. /**
  2. * @file llpanelgroupinvite.h
  3. *
  4. * $LicenseInfo:firstyear=2006&license=viewerlgpl$
  5. * Second Life Viewer Source Code
  6. * Copyright (C) 2010, Linden Research, Inc.
  7. *
  8. * This library is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU Lesser General Public
  10. * License as published by the Free Software Foundation;
  11. * version 2.1 of the License only.
  12. *
  13. * This library is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. * Lesser General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public
  19. * License along with this library; if not, write to the Free Software
  20. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  21. *
  22. * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
  23. * $/LicenseInfo$
  24. */
  25. #ifndef LL_LLPANELGROUPINVITE_H
  26. #define LL_LLPANELGROUPINVITE_H
  27. #include "llpanel.h"
  28. #include "lluuid.h"
  29. class LLPanelGroupInvite
  30. : public LLPanel
  31. {
  32. public:
  33. LLPanelGroupInvite(const LLUUID& group_id);
  34. ~LLPanelGroupInvite();
  35. void addUsers(uuid_vec_t& agent_ids);
  36. /**
  37. * this callback is being used to add a user whose fullname isn't been loaded before invoking of addUsers().
  38. */
  39. void addUserCallback(const LLUUID& id, const std::string& full_name);
  40. void clear();
  41. void update();
  42. void setCloseCallback(void (*close_callback)(void*), void* data);
  43. virtual void draw();
  44. virtual BOOL postBuild();
  45. protected:
  46. class impl;
  47. impl* mImplementation;
  48. BOOL mPendingUpdate;
  49. LLUUID mStoreSelected;
  50. void updateLists();
  51. };
  52. #endif