PageRenderTime 51ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/newview/llpanelmarketplaceoutboxinventory.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 78 lines | 34 code | 16 blank | 28 comment | 0 complexity | b2e6a5bfabd03ffd677bb0563daddb78 MD5 | raw file
Possible License(s): LGPL-2.1
  1. /**
  2. * @file llpanelmarketplaceoutboxinventory.h
  3. * @brief LLOutboxInventoryPanel class declaration
  4. *
  5. * $LicenseInfo:firstyear=2009&license=viewerlgpl$
  6. * Second Life Viewer Source Code
  7. * Copyright (C) 2010, Linden Research, Inc.
  8. *
  9. * This library is free software; you can redistribute it and/or
  10. * modify it under the terms of the GNU Lesser General Public
  11. * License as published by the Free Software Foundation;
  12. * version 2.1 of the License only.
  13. *
  14. * This library is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. * Lesser General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU Lesser General Public
  20. * License along with this library; if not, write to the Free Software
  21. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  22. *
  23. * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
  24. * $/LicenseInfo$
  25. */
  26. #ifndef LL_OUTBOXINVENTORYPANEL_H
  27. #define LL_OUTBOXINVENTORYPANEL_H
  28. #include "llinventorypanel.h"
  29. #include "llfolderviewitem.h"
  30. class LLOutboxInventoryPanel : public LLInventoryPanel
  31. {
  32. public:
  33. struct Params : public LLInitParam::Block<Params, LLInventoryPanel::Params>
  34. {
  35. Params() {}
  36. };
  37. LLOutboxInventoryPanel(const Params& p);
  38. ~LLOutboxInventoryPanel();
  39. // virtual
  40. void buildFolderView(const LLInventoryPanel::Params& params);
  41. // virtual
  42. LLFolderViewFolder * createFolderViewFolder(LLInvFVBridge * bridge);
  43. LLFolderViewItem * createFolderViewItem(LLInvFVBridge * bridge);
  44. };
  45. class LLOutboxFolderViewFolder : public LLFolderViewFolder
  46. {
  47. public:
  48. struct Params : public LLInitParam::Block<Params, LLFolderViewFolder::Params>
  49. {
  50. Params() {}
  51. };
  52. LLOutboxFolderViewFolder(const Params& p);
  53. };
  54. class LLOutboxFolderViewItem : public LLFolderViewItem
  55. {
  56. public:
  57. LLOutboxFolderViewItem(const Params& p);
  58. // virtual
  59. BOOL handleDoubleClick(S32 x, S32 y, MASK mask);
  60. void openItem();
  61. };
  62. #endif //LL_OUTBOXINVENTORYPANEL_H