diff --git a/CMakeLists.txt b/CMakeLists.txt index f533c8e..94011aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,31 +32,31 @@ add_executable( gwallet #panels/sellasset.cpp #panels/borrowasset.cpp #panels/cancelorder.cpp - panels/setproxy.cpp - panels/getcommitteemember.cpp - panels/getaccounthistory.cpp - panels/getorderbook.cpp - panels/info.cpp + #panels/setproxy.cpp + #panels/getcommitteemember.cpp + #panels/getaccounthistory.cpp + #panels/getorderbook.cpp + #panels/info.cpp panels/wallet.cpp panels/cli.cpp panels/dashboard.cpp panels/commands.cpp - panels/about.cpp - panels/active_witnesses.cpp - panels/active_committee.cpp + #panels/about.cpp + #panels/active_witnesses.cpp + #panels/active_committee.cpp panels/upgradeaccount.cpp panels/createaccountwithbrainkey.cpp panels/registeraccount.cpp panels/createasset.cpp - panels/getwitness.cpp - panels/getaccount.cpp - panels/getasset.cpp + #panels/getwitness.cpp + #panels/getaccount.cpp + #panels/getasset.cpp panels/issueasset.cpp panels/createhtlc.cpp panels/redeemhtlc.cpp panels/extendhtlc.cpp - panels/gethtlc.cpp + #panels/gethtlc.cpp panels/updatefeedproducers.cpp panels/voteforwitness.cpp @@ -65,7 +65,8 @@ add_executable( gwallet find_package(wxWidgets COMPONENTS core base adv xrc aui REQUIRED) include(${wxWidgets_USE_FILE}) -set(plugins "gwallet_transfer" "gwallet_sellasset" "gwallet_borrowasset" "gwallet_cancelorder") +set(plugins "gwallet_transfer" "gwallet_sellasset" "gwallet_borrowasset" "gwallet_cancelorder" "gwallet_setproxy" + "gwallet_getters") target_link_libraries( gwallet PRIVATE graphene_app graphene_net graphene_chain graphene_egenesis_brief graphene_utilities graphene_wallet fc diff --git a/gwallet.cpp b/gwallet.cpp index 7ab5adc..84b422e 100644 --- a/gwallet.cpp +++ b/gwallet.cpp @@ -8,8 +8,8 @@ #include "include/wizards/registration.hpp" -#include "include/panels/info.hpp" -#include "include/panels/about.hpp" +#include "plugins/getters/include/info.hpp" +#include "plugins/getters/include/about.hpp" #include "include/panels/cli.hpp" #include "include/panels/wallet.hpp" diff --git a/panels/wallet.cpp b/panels/wallet.cpp index 3015f8b..9132c81 100644 --- a/panels/wallet.cpp +++ b/panels/wallet.cpp @@ -3,26 +3,26 @@ #include "../plugins/sellasset/include/sellasset.hpp" #include "../plugins/borrowasset/include/borrowasset.hpp" #include "../plugins/cancelorder/include/cancelorder.hpp" -#include "../include/panels/setproxy.hpp" -#include "../include/panels/getcommitteemember.hpp" -#include "../include/panels/getaccounthistory.hpp" -#include "../include/panels/getorderbook.hpp" -#include "../include/panels/about.hpp" -#include "../include/panels/info.hpp" -#include "../include/panels/active_committee.hpp" -#include "../include/panels/active_witnesses.hpp" +#include "../plugins/setproxy/include/setproxy.hpp" +#include "../plugins/getters/include/getcommitteemember.hpp" +#include "../plugins/getters/include/getaccounthistory.hpp" +#include "../plugins/getters/include/getorderbook.hpp" +#include "../plugins/getters/include/about.hpp" +#include "../plugins/getters/include/info.hpp" +#include "../plugins/getters/include/active_committee.hpp" +#include "../plugins/getters/include/active_witnesses.hpp" #include "../include/panels/upgradeaccount.hpp" #include "../include/panels/createaccountwithbrainkey.hpp" #include "../include/panels/registeraccount.hpp" #include "../include/panels/createasset.hpp" -#include "../include/panels/getwitness.hpp" -#include "../include/panels/getaccount.hpp" -#include "../include/panels/getasset.hpp" +#include "../plugins/getters/include/getwitness.hpp" +#include "../plugins/getters/include/getaccount.hpp" +#include "../plugins/getters/include/getasset.hpp" #include "../include/panels/issueasset.hpp" #include "../include/panels/createhtlc.hpp" #include "../include/panels/redeemhtlc.hpp" #include "../include/panels/extendhtlc.hpp" -#include "../include/panels/gethtlc.hpp" +#include "../plugins/getters/include/gethtlc.hpp" #include "../include/panels/updatefeedproducers.hpp" #include "../include/panels/voteforwitness.hpp" diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 00d53bd..b4f4a6c 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -2,6 +2,10 @@ add_subdirectory( transfer ) add_subdirectory( sellasset ) add_subdirectory( borrowasset ) add_subdirectory( cancelorder ) +add_subdirectory( setproxy ) +add_subdirectory( getters ) + + diff --git a/plugins/getters/CMakeLists.txt b/plugins/getters/CMakeLists.txt new file mode 100644 index 0000000..7b79126 --- /dev/null +++ b/plugins/getters/CMakeLists.txt @@ -0,0 +1,22 @@ +find_package(wxWidgets COMPONENTS core base adv xrc aui REQUIRED) +include(${wxWidgets_USE_FILE}) + +add_library( gwallet_getters + getcommitteemember.cpp + getaccounthistory.cpp + getorderbook.cpp + about.cpp + info.cpp + active_committee.cpp + active_witnesses.cpp + getwitness.cpp + getaccount.cpp + getasset.cpp + gethtlc.cpp + + ) + +target_link_libraries( gwallet_getters + PRIVATE graphene_app graphene_net graphene_chain graphene_egenesis_brief graphene_utilities graphene_wallet fc + ${wxWidgets_LIBRARIES} ${CMAKE_DL_LIBS} ${PLATFORM_SPECIFIC_LIBS} + ) \ No newline at end of file diff --git a/panels/about.cpp b/plugins/getters/about.cpp similarity index 90% rename from panels/about.cpp rename to plugins/getters/about.cpp index f4c0489..6939d8c 100644 --- a/panels/about.cpp +++ b/plugins/getters/about.cpp @@ -1,5 +1,7 @@ -#include "../include/panels/about.hpp" -#include "../include/panels/wallet.hpp" +#include "include/about.hpp" + +#include +#include About::About(GWallet* gwallet) : wxScrolledWindow() { diff --git a/panels/active_committee.cpp b/plugins/getters/active_committee.cpp similarity index 88% rename from panels/active_committee.cpp rename to plugins/getters/active_committee.cpp index 98579b1..b5ea32b 100644 --- a/panels/active_committee.cpp +++ b/plugins/getters/active_committee.cpp @@ -1,6 +1,7 @@ -#include "../include/panels/active_committee.hpp" -#include "../include/panels/wallet.hpp" -#include "../include/panels/commands.hpp" +#include "include/active_committee.hpp" + +#include +#include ActiveCommittee::ActiveCommittee(GWallet* gwallet) : wxScrolledWindow() { @@ -10,6 +11,7 @@ ActiveCommittee::ActiveCommittee(GWallet* gwallet) : wxScrolledWindow() wxBusyInfo wait(_("Please wait, updating active committee members info ...")); wxTheApp->Yield(); + wxXmlResource::Get()->LoadAllFiles(p_GWallet->directory + wxT("/plugins/getters/resources")); InitWidgetsFromXRC((wxWindow *)p_GWallet); response_grid->CreateGrid(0, 3); diff --git a/panels/active_witnesses.cpp b/plugins/getters/active_witnesses.cpp similarity index 89% rename from panels/active_witnesses.cpp rename to plugins/getters/active_witnesses.cpp index b38e841..77ed1fc 100644 --- a/panels/active_witnesses.cpp +++ b/plugins/getters/active_witnesses.cpp @@ -1,6 +1,7 @@ -#include "../include/panels/active_witnesses.hpp" -#include "../include/panels/wallet.hpp" -#include "../include/panels/commands.hpp" +#include "include/active_witnesses.hpp" + +#include +#include ActiveWitnesses::ActiveWitnesses(GWallet* gwallet) : wxScrolledWindow() { @@ -10,6 +11,7 @@ ActiveWitnesses::ActiveWitnesses(GWallet* gwallet) : wxScrolledWindow() wxBusyInfo wait(_("Please wait, updating active witnesses info ...")); wxTheApp->Yield(); + wxXmlResource::Get()->LoadAllFiles(p_GWallet->directory + wxT("/plugins/getters/resources")); InitWidgetsFromXRC((wxWindow *)p_GWallet); SetScrollRate(1,1); diff --git a/panels/getaccount.cpp b/plugins/getters/getaccount.cpp similarity index 97% rename from panels/getaccount.cpp rename to plugins/getters/getaccount.cpp index ee7d2da..f7a78e6 100644 --- a/panels/getaccount.cpp +++ b/plugins/getters/getaccount.cpp @@ -1,11 +1,13 @@ -#include "../include/panels/getaccount.hpp" -#include "../include/panels/wallet.hpp" -#include "../include/panels/cli.hpp" -#include "../include/panels/commands.hpp" +#include "include/getaccount.hpp" + +#include +#include GetAccount::GetAccount(GWallet* gwallet) { p_GWallet = gwallet; + + wxXmlResource::Get()->LoadAllFiles(p_GWallet->directory + wxT("/plugins/getters/resources")); InitWidgetsFromXRC((wxWindow *)p_GWallet); SetScrollRate(1,1); diff --git a/panels/getaccounthistory.cpp b/plugins/getters/getaccounthistory.cpp similarity index 93% rename from panels/getaccounthistory.cpp rename to plugins/getters/getaccounthistory.cpp index 33b3ff7..c32396f 100644 --- a/panels/getaccounthistory.cpp +++ b/plugins/getters/getaccounthistory.cpp @@ -1,11 +1,13 @@ -#include "../include/panels/getaccounthistory.hpp" -#include "../include/panels/wallet.hpp" -#include "../include/panels/cli.hpp" -#include "../include/panels/commands.hpp" +#include "include/getaccounthistory.hpp" + +#include +#include GetAccountHistory::GetAccountHistory(GWallet* gwallet) { p_GWallet = gwallet; + + wxXmlResource::Get()->LoadAllFiles(p_GWallet->directory + wxT("/plugins/getters/resources")); InitWidgetsFromXRC((wxWindow *)p_GWallet); SetScrollRate(1,1); diff --git a/panels/getasset.cpp b/plugins/getters/getasset.cpp similarity index 96% rename from panels/getasset.cpp rename to plugins/getters/getasset.cpp index 41dee35..3757aa2 100644 --- a/panels/getasset.cpp +++ b/plugins/getters/getasset.cpp @@ -1,11 +1,13 @@ -#include "../include/panels/getasset.hpp" -#include "../include/panels/wallet.hpp" -#include "../include/panels/cli.hpp" -#include "../include/panels/commands.hpp" +#include "include/getasset.hpp" + +#include +#include GetAsset::GetAsset(GWallet* gwallet) { p_GWallet = gwallet; + + wxXmlResource::Get()->LoadAllFiles(p_GWallet->directory + wxT("/plugins/getters/resources")); InitWidgetsFromXRC((wxWindow *)p_GWallet); SetScrollRate(1,1); diff --git a/panels/getcommitteemember.cpp b/plugins/getters/getcommitteemember.cpp similarity index 92% rename from panels/getcommitteemember.cpp rename to plugins/getters/getcommitteemember.cpp index 7700df0..c23629d 100644 --- a/panels/getcommitteemember.cpp +++ b/plugins/getters/getcommitteemember.cpp @@ -1,11 +1,13 @@ -#include "../include/panels/getcommitteemember.hpp" -#include "../include/panels/wallet.hpp" -#include "../include/panels/cli.hpp" -#include "../include/panels/commands.hpp" +#include "include/getcommitteemember.hpp" + +#include +#include GetCommitteeMember::GetCommitteeMember(GWallet* gwallet) { p_GWallet = gwallet; + + wxXmlResource::Get()->LoadAllFiles(p_GWallet->directory + wxT("/plugins/getters/resources")); InitWidgetsFromXRC((wxWindow *)p_GWallet); SetScrollRate(1,1); diff --git a/panels/gethtlc.cpp b/plugins/getters/gethtlc.cpp similarity index 94% rename from panels/gethtlc.cpp rename to plugins/getters/gethtlc.cpp index 878e501..6bb836d 100644 --- a/panels/gethtlc.cpp +++ b/plugins/getters/gethtlc.cpp @@ -1,11 +1,13 @@ -#include "../include/panels/gethtlc.hpp" -#include "../include/panels/wallet.hpp" -#include "../include/panels/cli.hpp" -#include "../include/panels/commands.hpp" +#include "include/gethtlc.hpp" + +#include +#include GetHtlc::GetHtlc(GWallet* gwallet) { p_GWallet = gwallet; + + wxXmlResource::Get()->LoadAllFiles(p_GWallet->directory + wxT("/plugins/getters/resources")); InitWidgetsFromXRC((wxWindow *)p_GWallet); SetScrollRate(1,1); diff --git a/panels/getorderbook.cpp b/plugins/getters/getorderbook.cpp similarity index 93% rename from panels/getorderbook.cpp rename to plugins/getters/getorderbook.cpp index 07af994..f9ec077 100644 --- a/panels/getorderbook.cpp +++ b/plugins/getters/getorderbook.cpp @@ -1,11 +1,13 @@ -#include "../include/panels/getorderbook.hpp" -#include "../include/panels/wallet.hpp" -#include "../include/panels/cli.hpp" -#include "../include/panels/commands.hpp" +#include "include/getorderbook.hpp" + +#include +#include GetOrderBook::GetOrderBook(GWallet* gwallet) : wxScrolledWindow() { p_GWallet = gwallet; + + wxXmlResource::Get()->LoadAllFiles(p_GWallet->directory + wxT("/plugins/getters/resources")); InitWidgetsFromXRC((wxWindow *)p_GWallet); SetScrollRate(1,1); diff --git a/panels/getwitness.cpp b/plugins/getters/getwitness.cpp similarity index 94% rename from panels/getwitness.cpp rename to plugins/getters/getwitness.cpp index f583c2f..cf073d6 100644 --- a/panels/getwitness.cpp +++ b/plugins/getters/getwitness.cpp @@ -1,11 +1,13 @@ -#include "../include/panels/getwitness.hpp" -#include "../include/panels/wallet.hpp" -#include "../include/panels/cli.hpp" -#include "../include/panels/commands.hpp" +#include "include/getwitness.hpp" + +#include +#include GetWitness::GetWitness(GWallet* gwallet) { p_GWallet = gwallet; + + wxXmlResource::Get()->LoadAllFiles(p_GWallet->directory + wxT("/plugins/getters/resources")); InitWidgetsFromXRC((wxWindow *)p_GWallet); SetScrollRate(1,1); diff --git a/include/panels/about.hpp b/plugins/getters/include/about.hpp similarity index 97% rename from include/panels/about.hpp rename to plugins/getters/include/about.hpp index 396b6bd..cd45df3 100644 --- a/include/panels/about.hpp +++ b/plugins/getters/include/about.hpp @@ -1,7 +1,7 @@ #include #include -class GWallet; +#include class About : public wxScrolledWindow { diff --git a/include/panels/active_committee.hpp b/plugins/getters/include/active_committee.hpp similarity index 94% rename from include/panels/active_committee.hpp rename to plugins/getters/include/active_committee.hpp index 9f958fd..f980245 100644 --- a/include/panels/active_committee.hpp +++ b/plugins/getters/include/active_committee.hpp @@ -3,7 +3,7 @@ #include #include -class GWallet; +#include class ActiveCommittee : public wxScrolledWindow { diff --git a/include/panels/active_witnesses.hpp b/plugins/getters/include/active_witnesses.hpp similarity index 94% rename from include/panels/active_witnesses.hpp rename to plugins/getters/include/active_witnesses.hpp index f24509a..7ad9ebc 100644 --- a/include/panels/active_witnesses.hpp +++ b/plugins/getters/include/active_witnesses.hpp @@ -3,7 +3,7 @@ #include #include -class GWallet; +#include class ActiveWitnesses : public wxScrolledWindow { diff --git a/include/panels/getaccount.hpp b/plugins/getters/include/getaccount.hpp similarity index 97% rename from include/panels/getaccount.hpp rename to plugins/getters/include/getaccount.hpp index 3d83523..011ce53 100644 --- a/include/panels/getaccount.hpp +++ b/plugins/getters/include/getaccount.hpp @@ -4,7 +4,7 @@ #include #include -class GWallet; +#include class GetAccount: public wxScrolledWindow { diff --git a/include/panels/getaccounthistory.hpp b/plugins/getters/include/getaccounthistory.hpp similarity index 97% rename from include/panels/getaccounthistory.hpp rename to plugins/getters/include/getaccounthistory.hpp index 23d1b94..8bbd4d7 100644 --- a/include/panels/getaccounthistory.hpp +++ b/plugins/getters/include/getaccounthistory.hpp @@ -4,7 +4,7 @@ #include #include -class GWallet; +#include class GetAccountHistory: public wxScrolledWindow { diff --git a/include/panels/getasset.hpp b/plugins/getters/include/getasset.hpp similarity index 97% rename from include/panels/getasset.hpp rename to plugins/getters/include/getasset.hpp index 8afcb2f..9621368 100644 --- a/include/panels/getasset.hpp +++ b/plugins/getters/include/getasset.hpp @@ -4,7 +4,7 @@ #include #include -class GWallet; +#include class GetAsset: public wxScrolledWindow { diff --git a/include/panels/getcommitteemember.hpp b/plugins/getters/include/getcommitteemember.hpp similarity index 97% rename from include/panels/getcommitteemember.hpp rename to plugins/getters/include/getcommitteemember.hpp index 5e9186a..ca5b510 100644 --- a/include/panels/getcommitteemember.hpp +++ b/plugins/getters/include/getcommitteemember.hpp @@ -4,7 +4,7 @@ #include #include -class GWallet; +#include class GetCommitteeMember: public wxScrolledWindow { diff --git a/include/panels/gethtlc.hpp b/plugins/getters/include/gethtlc.hpp similarity index 97% rename from include/panels/gethtlc.hpp rename to plugins/getters/include/gethtlc.hpp index 58437ba..fd2a34a 100644 --- a/include/panels/gethtlc.hpp +++ b/plugins/getters/include/gethtlc.hpp @@ -4,7 +4,7 @@ #include #include -class GWallet; +#include class GetHtlc: public wxScrolledWindow { diff --git a/include/panels/getorderbook.hpp b/plugins/getters/include/getorderbook.hpp similarity index 97% rename from include/panels/getorderbook.hpp rename to plugins/getters/include/getorderbook.hpp index 33b979f..db39c1e 100644 --- a/include/panels/getorderbook.hpp +++ b/plugins/getters/include/getorderbook.hpp @@ -4,7 +4,7 @@ #include #include -class GWallet; +#include class GetOrderBook: public wxScrolledWindow { diff --git a/include/panels/getwitness.hpp b/plugins/getters/include/getwitness.hpp similarity index 97% rename from include/panels/getwitness.hpp rename to plugins/getters/include/getwitness.hpp index b42074d..5e53245 100644 --- a/include/panels/getwitness.hpp +++ b/plugins/getters/include/getwitness.hpp @@ -4,7 +4,7 @@ #include #include -class GWallet; +#include class GetWitness: public wxScrolledWindow { diff --git a/include/panels/info.hpp b/plugins/getters/include/info.hpp similarity index 95% rename from include/panels/info.hpp rename to plugins/getters/include/info.hpp index e73f591..6dc0fd8 100644 --- a/include/panels/info.hpp +++ b/plugins/getters/include/info.hpp @@ -2,9 +2,7 @@ #include #include -#ifndef GWALLET_H -#include "../gwallet.hpp" -#endif +#include class Info : public wxScrolledWindow { diff --git a/panels/info.cpp b/plugins/getters/info.cpp similarity index 84% rename from panels/info.cpp rename to plugins/getters/info.cpp index 03002f2..e31c04e 100644 --- a/panels/info.cpp +++ b/plugins/getters/info.cpp @@ -1,13 +1,14 @@ -#include "../include/panels/info.hpp" -#include "../include/panels/active_committee.hpp" -#include "../include/panels/active_witnesses.hpp" +#include "include/info.hpp" +#include "include/active_committee.hpp" +#include "include/active_witnesses.hpp" -#include "../include/panels/commands.hpp" +#include Info::Info(GWallet* gwallet) : wxScrolledWindow() { p_GWallet = gwallet; + wxXmlResource::Get()->LoadAllFiles(p_GWallet->directory + wxT("/plugins/getters/resources")); InitWidgetsFromXRC((wxWindow *)p_GWallet); SetScrollRate(1,1); diff --git a/resources/about.xrc b/plugins/getters/resources/about.xrc similarity index 100% rename from resources/about.xrc rename to plugins/getters/resources/about.xrc diff --git a/resources/active_committee.xrc b/plugins/getters/resources/active_committee.xrc similarity index 100% rename from resources/active_committee.xrc rename to plugins/getters/resources/active_committee.xrc diff --git a/resources/active_witnesses.xrc b/plugins/getters/resources/active_witnesses.xrc similarity index 100% rename from resources/active_witnesses.xrc rename to plugins/getters/resources/active_witnesses.xrc diff --git a/resources/getaccount.xrc b/plugins/getters/resources/getaccount.xrc similarity index 100% rename from resources/getaccount.xrc rename to plugins/getters/resources/getaccount.xrc diff --git a/resources/getaccounthistory.xrc b/plugins/getters/resources/getaccounthistory.xrc similarity index 100% rename from resources/getaccounthistory.xrc rename to plugins/getters/resources/getaccounthistory.xrc diff --git a/resources/getasset.xrc b/plugins/getters/resources/getasset.xrc similarity index 100% rename from resources/getasset.xrc rename to plugins/getters/resources/getasset.xrc diff --git a/resources/getcommitteemember.xrc b/plugins/getters/resources/getcommitteemember.xrc similarity index 100% rename from resources/getcommitteemember.xrc rename to plugins/getters/resources/getcommitteemember.xrc diff --git a/resources/gethtlc.xrc b/plugins/getters/resources/gethtlc.xrc similarity index 100% rename from resources/gethtlc.xrc rename to plugins/getters/resources/gethtlc.xrc diff --git a/resources/getorderbook.xrc b/plugins/getters/resources/getorderbook.xrc similarity index 100% rename from resources/getorderbook.xrc rename to plugins/getters/resources/getorderbook.xrc diff --git a/resources/getwitness.xrc b/plugins/getters/resources/getwitness.xrc similarity index 100% rename from resources/getwitness.xrc rename to plugins/getters/resources/getwitness.xrc diff --git a/resources/info.xrc b/plugins/getters/resources/info.xrc similarity index 100% rename from resources/info.xrc rename to plugins/getters/resources/info.xrc diff --git a/plugins/setproxy/CMakeLists.txt b/plugins/setproxy/CMakeLists.txt new file mode 100644 index 0000000..4e7e778 --- /dev/null +++ b/plugins/setproxy/CMakeLists.txt @@ -0,0 +1,11 @@ +find_package(wxWidgets COMPONENTS core base adv xrc aui REQUIRED) +include(${wxWidgets_USE_FILE}) + +add_library( gwallet_setproxy + setproxy.cpp + ) + +target_link_libraries( gwallet_setproxy + PRIVATE graphene_app graphene_net graphene_chain graphene_egenesis_brief graphene_utilities graphene_wallet fc + ${wxWidgets_LIBRARIES} ${CMAKE_DL_LIBS} ${PLATFORM_SPECIFIC_LIBS} + ) \ No newline at end of file diff --git a/include/panels/setproxy.hpp b/plugins/setproxy/include/setproxy.hpp similarity index 97% rename from include/panels/setproxy.hpp rename to plugins/setproxy/include/setproxy.hpp index 196f81d..3271970 100644 --- a/include/panels/setproxy.hpp +++ b/plugins/setproxy/include/setproxy.hpp @@ -3,7 +3,7 @@ #include #include -class GWallet; +#include class SetProxy: public wxScrolledWindow { diff --git a/resources/setproxy.xrc b/plugins/setproxy/resources/setproxy.xrc similarity index 100% rename from resources/setproxy.xrc rename to plugins/setproxy/resources/setproxy.xrc diff --git a/panels/setproxy.cpp b/plugins/setproxy/setproxy.cpp similarity index 93% rename from panels/setproxy.cpp rename to plugins/setproxy/setproxy.cpp index 56d9bed..7cb1a64 100644 --- a/panels/setproxy.cpp +++ b/plugins/setproxy/setproxy.cpp @@ -1,11 +1,12 @@ -#include "../include/panels/setproxy.hpp" -#include "../include/panels/wallet.hpp" -#include "../include/panels/cli.hpp" -#include "../include/panels/commands.hpp" +#include "include/setproxy.hpp" + +#include SetProxy::SetProxy(GWallet* gwallet) : wxScrolledWindow() { p_GWallet = gwallet; + + wxXmlResource::Get()->LoadAllFiles(p_GWallet->directory + wxT("/plugins/setproxy/resources")); InitWidgetsFromXRC((wxWindow *)p_GWallet); SetScrollRate(1,1); diff --git a/plugins/transfer/CMakeLists.txt b/plugins/transfer/CMakeLists.txt index 5ee6be9..60f8425 100644 --- a/plugins/transfer/CMakeLists.txt +++ b/plugins/transfer/CMakeLists.txt @@ -1,4 +1,3 @@ -#include_directories(include) find_package(wxWidgets COMPONENTS core base adv xrc aui REQUIRED) include(${wxWidgets_USE_FILE})