aboutsummaryrefslogtreecommitdiff
path: root/src/util/ui_change_type.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-06-19 18:07:18 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-06-27 11:39:09 -0400
commitfac96e6450d595fe67168cb7afa7692da6cc9973 (patch)
tree3aaa61c457fe724293841630bf6b97eca5704a1b /src/util/ui_change_type.h
parentfa0f6c58c1c6d10f04c4e65a424cc51ebca50a8c (diff)
downloadbitcoin-fac96e6450d595fe67168cb7afa7692da6cc9973.tar.xz
wallet: Do not include server symbols
ui_interface is in libbitcoin_server and can not be included in the wallet because the wallet does not link with server symbols.
Diffstat (limited to 'src/util/ui_change_type.h')
-rw-r--r--src/util/ui_change_type.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/util/ui_change_type.h b/src/util/ui_change_type.h
new file mode 100644
index 0000000000..1db761a18d
--- /dev/null
+++ b/src/util/ui_change_type.h
@@ -0,0 +1,15 @@
+// Copyright (c) 2012-2020 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 BITCOIN_UTIL_UI_CHANGE_TYPE_H
+#define BITCOIN_UTIL_UI_CHANGE_TYPE_H
+
+/** General change type (added, updated, removed). */
+enum ChangeType {
+ CT_NEW,
+ CT_UPDATED,
+ CT_DELETED
+};
+
+#endif // BITCOIN_UTIL_UI_CHANGE_TYPE_H