summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterauction.h
blob: 157222b501db72b6d4f552a09bff4575812feaa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/** 
 * @file llfloaterauction.h
 * @author James Cook, Ian Wilkes
 * @brief llfloaterauction class header file
 *
 * Copyright (c) 2004-$CurrentYear$, Linden Research, Inc.
 * $License$
 */

#ifndef LL_LLFLOATERAUCTION_H
#define LL_LLFLOATERAUCTION_H

#include "llfloater.h"
#include "lluuid.h"
#include "llmemory.h"
#include "llviewerimage.h"

//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Class LLFloaterAuction
//
// Class which holds the functionality to start auctions.
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class LLParcelSelection;

class LLFloaterAuction : public LLFloater
{
public:
	// LLFloater interface
	/*virtual*/ void onClose(bool app_quitting) { setVisible(FALSE); }
	/*virtual*/ void draw();

	// LLFloaterAuction interface
	static void show();
	
private:
	LLFloaterAuction();
	~LLFloaterAuction();
	void initialize();

	static void onClickSnapshot(void* data);
	static void onClickOK(void* data);

	static LLFloaterAuction* sInstance;

private:
	LLTransactionID mTransactionID;
	LLAssetID mImageID;
	LLPointer<LLImageGL> mImage;
	LLHandle<LLParcelSelection> mParcelp;
	S32 mParcelID;
	LLHost mParcelHost;
};


#endif // LL_LLFLOATERAUCTION_H