PageRenderTime 193ms CodeModel.GetById 80ms app.highlight 5ms RepoModel.GetById 106ms 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
 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
27#ifndef LL_OUTBOXINVENTORYPANEL_H
28#define LL_OUTBOXINVENTORYPANEL_H
29
30
31#include "llinventorypanel.h"
32#include "llfolderviewitem.h"
33
34
35class LLOutboxInventoryPanel : public LLInventoryPanel
36{
37public:
38	struct Params : public LLInitParam::Block<Params, LLInventoryPanel::Params>
39	{
40		Params() {}
41	};
42	
43	LLOutboxInventoryPanel(const Params& p);
44	~LLOutboxInventoryPanel();
45
46	// virtual
47	void buildFolderView(const LLInventoryPanel::Params& params);
48
49	// virtual
50	LLFolderViewFolder *	createFolderViewFolder(LLInvFVBridge * bridge);
51	LLFolderViewItem *		createFolderViewItem(LLInvFVBridge * bridge);
52};
53
54
55class LLOutboxFolderViewFolder : public LLFolderViewFolder
56{
57public:
58	struct Params : public LLInitParam::Block<Params, LLFolderViewFolder::Params>
59	{
60		Params() {}
61	};
62	
63	LLOutboxFolderViewFolder(const Params& p);
64};
65
66
67class LLOutboxFolderViewItem : public LLFolderViewItem
68{
69public:
70	LLOutboxFolderViewItem(const Params& p);
71
72	// virtual
73	BOOL handleDoubleClick(S32 x, S32 y, MASK mask);
74	void openItem();
75};
76
77
78#endif //LL_OUTBOXINVENTORYPANEL_H