]> Git Repo - VerusCoin.git/blobdiff - src/coincontrol.h
test
[VerusCoin.git] / src / coincontrol.h
index 033092c01954ea9a75f9b30deeda1a52055c3926..92fae9847c3a1a177c1501ec3b42ccf884b49464 100644 (file)
@@ -1,11 +1,11 @@
-// Copyright (c) 2011-2013 The Bitcoin developers
-// Distributed under the MIT/X11 software license, see the accompanying
+// Copyright (c) 2011-2013 The Bitcoin Core developers
+// Distributed under the MIT software license, see the accompanying
 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
 
-#ifndef COINCONTROL_H
-#define COINCONTROL_H
+#ifndef BITCOIN_COINCONTROL_H
+#define BITCOIN_COINCONTROL_H
 
-#include "core.h"
+#include "primitives/transaction.h"
 
 /** Coin Control Features. */
 class CCoinControl
@@ -35,12 +35,12 @@ public:
         return (setSelected.count(outpt) > 0);
     }
 
-    void Select(COutPoint& output)
+    void Select(const COutPoint& output)
     {
         setSelected.insert(output);
     }
 
-    void UnSelect(COutPoint& output)
+    void UnSelect(const COutPoint& output)
     {
         setSelected.erase(output);
     }
@@ -59,4 +59,4 @@ private:
     std::set<COutPoint> setSelected;
 };
 
-#endif // COINCONTROL_H
+#endif // BITCOIN_COINCONTROL_H
This page took 0.024412 seconds and 4 git commands to generate.