mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-17 03:50:03 +02:00
change remaining .h files to .hpp
This commit is contained in:
parent
9dacf00c7f
commit
a85c9b5090
22 changed files with 66 additions and 36 deletions
|
|
@ -23,7 +23,7 @@
|
|||
*/
|
||||
#include <iostream>
|
||||
#include <libeosio/WIF.hpp>
|
||||
#include <eoskeygen/core/dictionary.h>
|
||||
#include <eoskeygen/core/dictionary.hpp>
|
||||
#include "console.hpp"
|
||||
#include "cli_key_search_result.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -25,9 +25,9 @@
|
|||
#define EOSIOKEYGEN_KEY_SEARCH_HELPERS_H
|
||||
|
||||
#include <libeosio/types.hpp>
|
||||
#include <eoskeygen/core/string.h>
|
||||
#include <eoskeygen/key_search.h>
|
||||
#include <eoskeygen/key_search_result.h>
|
||||
#include <eoskeygen/core/string.hpp>
|
||||
#include <eoskeygen/key_search.hpp>
|
||||
#include <eoskeygen/key_search_result.hpp>
|
||||
|
||||
namespace eoskeygen {
|
||||
|
||||
|
|
|
|||
12
cli/main.cpp
12
cli/main.cpp
|
|
@ -26,12 +26,12 @@
|
|||
#include <libeosio/base58.hpp>
|
||||
#include <libeosio/ec.hpp>
|
||||
#include <libeosio/WIF.hpp>
|
||||
#include <eoskeygen/config.h>
|
||||
#include <eoskeygen/core/file.h>
|
||||
#include <eoskeygen/core/string.h>
|
||||
#include <eoskeygen/core/dictionary.h>
|
||||
#include <eoskeygen/core/leet.h>
|
||||
#include <eoskeygen/key_search.h>
|
||||
#include <eoskeygen/config.hpp>
|
||||
#include <eoskeygen/core/file.hpp>
|
||||
#include <eoskeygen/core/string.hpp>
|
||||
#include <eoskeygen/core/dictionary.hpp>
|
||||
#include <eoskeygen/core/leet.hpp>
|
||||
#include <eoskeygen/key_search.hpp>
|
||||
#include "cli_key_search_result.hpp"
|
||||
#include "console.hpp"
|
||||
#include "benchmark.hpp"
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ if (USE_THREADS)
|
|||
endif (USE_THREADS)
|
||||
|
||||
# Project config file
|
||||
configure_file(src/config.h.in "${CMAKE_CURRENT_LIST_DIR}/include/eoskeygen/config.h" @ONLY)
|
||||
configure_file(config.hpp.in "${CMAKE_CURRENT_LIST_DIR}/include/eoskeygen/config.hpp" @ONLY)
|
||||
|
||||
add_library( ${COMMON_NAME} STATIC ${COMMON_SOURCE} )
|
||||
|
||||
|
|
|
|||
30
common/include/eoskeygen/config.hpp
Normal file
30
common/include/eoskeygen/config.hpp
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/**
|
||||
* MIT License
|
||||
*
|
||||
* Copyright (c) 2019-2020 EOS Sw/eden
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
#ifndef EOSIOKEYGEN_COMMON_CONFIG_H
|
||||
#define EOSIOKEYGEN_COMMON_CONFIG_H
|
||||
|
||||
// Defined if we have thread support.
|
||||
#define EOSIOKEYGEN_HAVE_THREADS
|
||||
|
||||
#endif /* EOSIOKEYGEN_COMMON_CONFIG_H */
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
#ifndef EOSIOKEYGEN_COMMON_CORE_FILE_H
|
||||
#define EOSIOKEYGEN_COMMON_CORE_FILE_H
|
||||
|
||||
#include <eoskeygen/core/strlist.h>
|
||||
#include <eoskeygen/core/strlist.hpp>
|
||||
|
||||
namespace eoskeygen {
|
||||
|
||||
|
|
@ -25,7 +25,7 @@
|
|||
#define EOSIOKEYGEN_COMMON_CORE_LEET_H
|
||||
|
||||
#include <string>
|
||||
#include <eoskeygen/core/strlist.h>
|
||||
#include <eoskeygen/core/strlist.hpp>
|
||||
|
||||
namespace eoskeygen {
|
||||
|
||||
|
|
@ -27,9 +27,9 @@
|
|||
#include <stdint.h>
|
||||
#include <string>
|
||||
#include <libeosio/types.hpp>
|
||||
#include <eoskeygen/config.h>
|
||||
#include <eoskeygen/core/dictionary.h>
|
||||
#include <eoskeygen/core/strlist.h>
|
||||
#include <eoskeygen/config.hpp>
|
||||
#include <eoskeygen/core/dictionary.hpp>
|
||||
#include <eoskeygen/core/strlist.hpp>
|
||||
|
||||
namespace eoskeygen {
|
||||
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
#ifndef EOSIOKEYGEN_COMMON_KEY_SEARCH_RESULT_H
|
||||
#define EOSIOKEYGEN_COMMON_KEY_SEARCH_RESULT_H
|
||||
|
||||
#include <eoskeygen/key_search.h>
|
||||
#include <eoskeygen/key_search.hpp>
|
||||
|
||||
namespace eoskeygen {
|
||||
|
||||
|
|
@ -25,9 +25,9 @@
|
|||
#include <cstdio>
|
||||
#include <iterator>
|
||||
#include <algorithm>
|
||||
#include <eoskeygen/core/string.h>
|
||||
#include <eoskeygen/core/dictionary.h>
|
||||
#include <eoskeygen/core/file.h>
|
||||
#include <eoskeygen/core/string.hpp>
|
||||
#include <eoskeygen/core/dictionary.hpp>
|
||||
#include <eoskeygen/core/file.hpp>
|
||||
|
||||
namespace eoskeygen {
|
||||
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
#include <cstdio>
|
||||
#include <eoskeygen/core/string.h>
|
||||
#include <eoskeygen/core/file.h>
|
||||
#include <eoskeygen/core/string.hpp>
|
||||
#include <eoskeygen/core/file.hpp>
|
||||
|
||||
namespace eoskeygen {
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
#include <algorithm>
|
||||
#include <eoskeygen/core/leet.h>
|
||||
#include <eoskeygen/core/leet.hpp>
|
||||
|
||||
namespace eoskeygen {
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
#include <cstddef>
|
||||
#include <cctype>
|
||||
#include <algorithm>
|
||||
#include <eoskeygen/core/string.h>
|
||||
#include <eoskeygen/core/string.hpp>
|
||||
|
||||
namespace eoskeygen {
|
||||
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
#include <algorithm>
|
||||
#include <eoskeygen/core/string.h>
|
||||
#include <eoskeygen/core/strlist.h>
|
||||
#include <eoskeygen/core/string.hpp>
|
||||
#include <eoskeygen/core/strlist.hpp>
|
||||
|
||||
namespace eoskeygen {
|
||||
|
||||
|
|
|
|||
|
|
@ -23,10 +23,10 @@
|
|||
*/
|
||||
#include <libeosio/ec.hpp>
|
||||
#include <libeosio/WIF.hpp>
|
||||
#include <eoskeygen/config.h>
|
||||
#include <eoskeygen/core/string.h>
|
||||
#include <eoskeygen/key_search_result.h>
|
||||
#include <eoskeygen/key_search.h>
|
||||
#include <eoskeygen/config.hpp>
|
||||
#include <eoskeygen/core/string.hpp>
|
||||
#include <eoskeygen/key_search_result.hpp>
|
||||
#include <eoskeygen/key_search.hpp>
|
||||
|
||||
namespace eoskeygen {
|
||||
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@
|
|||
#include <mutex>
|
||||
#include <vector>
|
||||
#include <libeosio/ec.hpp>
|
||||
#include <eoskeygen/key_search_result.h>
|
||||
#include <eoskeygen/key_search.h>
|
||||
#include <eoskeygen/key_search_result.hpp>
|
||||
#include <eoskeygen/key_search.hpp>
|
||||
|
||||
namespace eoskeygen {
|
||||
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@
|
|||
#include <QFuture>
|
||||
#include <QtConcurrent>
|
||||
#include <libeosio/WIF.hpp>
|
||||
#include <eoskeygen/core/leet.h>
|
||||
#include <eoskeygen/core/string.h>
|
||||
#include <eoskeygen/core/leet.hpp>
|
||||
#include <eoskeygen/core/string.hpp>
|
||||
#include "config.hpp"
|
||||
#include "helpers.hpp"
|
||||
#include "SearchWindow.hpp"
|
||||
|
|
|
|||
|
|
@ -33,8 +33,8 @@
|
|||
#include <QGridLayout>
|
||||
#include <QFutureWatcher>
|
||||
#include <QWidget>
|
||||
#include <eoskeygen/key_search_result.h>
|
||||
#include <eoskeygen/key_search.h>
|
||||
#include <eoskeygen/key_search_result.hpp>
|
||||
#include <eoskeygen/key_search.hpp>
|
||||
#include "MultiSelect.hpp"
|
||||
|
||||
class SearchWindow : public QWidget, public eoskeygen::IKeySearchResult
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue