Skip to content

Commit

Permalink
Move empty constructors to header file.
Browse files Browse the repository at this point in the history
  • Loading branch information
krazkidd committed Aug 12, 2024
1 parent 0585072 commit 4c76d46
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 54 deletions.
3 changes: 2 additions & 1 deletion include/ui/ExchangeAnnouncementsDialog.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ namespace kdeck
class ExchangeAnnouncementsDialog : public wxfb::ExchangeAnnouncementsDialog
{
public:
ExchangeAnnouncementsDialog(wxWindow* parent, wxWindowID winid = wxID_ANY);
ExchangeAnnouncementsDialog(wxWindow* parent, wxWindowID winid = wxID_ANY)
: wxfb::ExchangeAnnouncementsDialog(parent, winid) {};

void UpdateStuff(Api* api);
};
Expand Down
3 changes: 2 additions & 1 deletion include/ui/ExchangeScheduleDialog.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ namespace kdeck
class ExchangeScheduleDialog : public wxfb::ExchangeScheduleDialog
{
public:
ExchangeScheduleDialog(wxWindow* parent, wxWindowID winid = wxID_ANY);
ExchangeScheduleDialog(wxWindow* parent, wxWindowID winid = wxID_ANY)
: wxfb::ExchangeScheduleDialog(parent, winid) {};

void UpdateStuff(Api* api);
};
Expand Down
3 changes: 2 additions & 1 deletion include/ui/ExchangeStatusDialog.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ namespace kdeck
class ExchangeStatusDialog : public wxfb::ExchangeStatusDialog
{
public:
ExchangeStatusDialog(wxWindow* parent, wxWindowID winid = wxID_ANY);
ExchangeStatusDialog(wxWindow* parent, wxWindowID winid = wxID_ANY)
: wxfb::ExchangeStatusDialog(parent, winid) {};

void UpdateStuff(Api* api);
};
Expand Down
3 changes: 2 additions & 1 deletion include/ui/LoginDialog.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ namespace kdeck
class LoginDialog : public wxfb::LoginDialog
{
public:
LoginDialog(wxWindow* parent, wxWindowID winid = wxID_ANY);
LoginDialog(wxWindow* parent, wxWindowID winid = wxID_ANY)
: wxfb::LoginDialog(parent, winid) {};

void UpdateStuff(const Config* config);

Expand Down
3 changes: 2 additions & 1 deletion include/ui/PortfolioPanel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ namespace kdeck
class PortfolioPanel : public wxfb::PortfolioPanel
{
public:
PortfolioPanel(wxWindow* parent, wxWindowID winid = wxID_ANY);
PortfolioPanel(wxWindow* parent, wxWindowID winid = wxID_ANY)
: wxfb::PortfolioPanel(parent, winid) {};

void UpdateStuff(const Config* config, Api* api);
};
Expand Down
9 changes: 0 additions & 9 deletions src/ui/ExchangeAnnouncementsDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@ namespace kdeck
{
class ExchangeAnnouncementsResponse;

// constructor ////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

ExchangeAnnouncementsDialog::ExchangeAnnouncementsDialog(wxWindow* parent, wxWindowID winid)
: wxfb::ExchangeAnnouncementsDialog(parent, winid)
{

}

void ExchangeAnnouncementsDialog::UpdateStuff(Api* api)
{
fgszrAnnouncements->Clear();
Expand Down
9 changes: 0 additions & 9 deletions src/ui/ExchangeScheduleDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@ namespace kdeck
{
class ExchangeScheduleResponse;

// constructor ////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

ExchangeScheduleDialog::ExchangeScheduleDialog(wxWindow* parent, wxWindowID winid)
: wxfb::ExchangeScheduleDialog(parent, winid)
{

}

void ExchangeScheduleDialog::UpdateStuff(Api* api)
{
gszrMaintenanceSchedule->Clear(true);
Expand Down
9 changes: 0 additions & 9 deletions src/ui/ExchangeStatusDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@ namespace kdeck
{
class ExchangeStatusResponse;

// constructor ////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

ExchangeStatusDialog::ExchangeStatusDialog(wxWindow* parent, wxWindowID winid)
: wxfb::ExchangeStatusDialog(parent, winid)
{

}

void ExchangeStatusDialog::UpdateStuff(Api* api)
{
try
Expand Down
11 changes: 0 additions & 11 deletions src/ui/LoginDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,6 @@

namespace kdeck
{
// constructor ////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

LoginDialog::LoginDialog(wxWindow* parent, wxWindowID winid)
: wxfb::LoginDialog(parent, winid)
{

}

// init ///////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

void LoginDialog::UpdateStuff(const Config* config)
{
Expand Down
11 changes: 0 additions & 11 deletions src/ui/PortfolioPanel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,6 @@

namespace kdeck
{
// constructor ////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

PortfolioPanel::PortfolioPanel(wxWindow* parent, wxWindowID winid)
: wxfb::PortfolioPanel(parent, winid)
{

}

// init ///////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

void PortfolioPanel::UpdateStuff(const Config* config, Api* api)
{
Expand Down

0 comments on commit 4c76d46

Please sign in to comment.