Update CMakeLists.txt - play with openssl
[novacoin.git] / src / coincontrol.h
1 #ifndef COINCONTROL_H
2 #define COINCONTROL_H
3
4 #include "base58.h"
5
6 class COutPoint;
7
8 /** Coin Control Features. */
9 class CCoinControl
10 {
11 public:
12     CBitcoinAddress destChange;
13
14     CCoinControl();
15         
16     void SetNull();
17     bool HasSelected() const;
18     bool IsSelected(const uint256& hash, unsigned int n) const;
19     void Select(COutPoint& output);
20     void UnSelect(COutPoint& output);
21     void UnSelectAll();
22     void ListSelected(std::vector<COutPoint>& vOutpoints);
23         
24 private:
25     std::set<COutPoint> setSelected;
26
27 };
28
29 #endif // COINCONTROL_H