1 ///////////////////////////////////////////////////////////////////////////////
2 //            Copyright (C) 2004-2010 by The Allacrost Project
3 //                         All Rights Reserved
4 //
5 // This code is licensed under the GNU GPL version 2. It is free software
6 // and you may modify it and/or redistribute it under the terms of this license.
7 // See http://www.gnu.org/copyleft/gpl.html for details.
8 ///////////////////////////////////////////////////////////////////////////////
9 
10 /** ****************************************************************************
11 *** \file    shop_trade.h
12 *** \author  Tyler Olsen, roots@allacrost.org
13 *** \brief   Header file for trade interface of shop mode
14 *** ***************************************************************************/
15 
16 #ifndef __SHOP_TRADE_HEADER__
17 #define __SHOP_TRADE_HEADER__
18 
19 #include "defs.h"
20 #include "utils.h"
21 
22 #include "video.h"
23 #include "global.h"
24 
25 #include "shop_utils.h"
26 
27 namespace hoa_shop {
28 
29 namespace private_shop {
30 
31 /** ****************************************************************************
32 *** \brief Manages the shop where the player is allowed to trade current equipment on their characters
33 ***
34 *** \todo This interface remains incomplete and will be finished at a later time.
35 *** ***************************************************************************/
36 class TradeInterface : public ShopInterface {
37 public:
38 	TradeInterface();
39 
40 	~TradeInterface();
41 
42 	void Initialize();
43 
44 	void MakeActive();
45 
46 	void TransactionNotification();
47 
48 	void Update();
49 
50 	void Draw();
51 
52 	//! \brief Temporary text image stating that this interface is unavailable
53 	hoa_video::TextImage TEMP_feature_unavailable;
54 }; // class TradeInterface : public ShopInterface
55 
56 } // namespace private_shop
57 
58 } // namespace hoa_shop
59 
60 #endif // __SHOP_TRADE_HEADER__
61