diff --git a/client/src/core/actions.cc b/client/src/core/actions.cc index b08b937..1c3eade 100644 --- a/client/src/core/actions.cc +++ b/client/src/core/actions.cc @@ -36,6 +36,7 @@ * */ + #include #include #include #include @@ -44,6 +45,7 @@ /*---[ Implement ]----------------------------------------------------------------------------------*/ TN3270::Action::Action(const LIB3270_ACTION *descriptor) { + debug(__FUNCTION__,"(",(void *) descriptor,",",descriptor->name,",",descriptor->summary,")"); this->descriptor = descriptor; } @@ -51,10 +53,12 @@ } const char * TN3270::Action::getDescription() const noexcept { + debug(__FUNCTION__,"(",(void *) descriptor,")"); return lib3270_property_get_description((const LIB3270_PROPERTY *) this->descriptor); } const char * TN3270::Action::getSummary() const noexcept { + debug(__FUNCTION__,"(",(void *) descriptor,")"); return lib3270_property_get_summary((const LIB3270_PROPERTY *) this->descriptor); } diff --git a/client/src/session/local/actions.cc b/client/src/session/local/actions.cc index 19e92c3..36da8a5 100644 --- a/client/src/session/local/actions.cc +++ b/client/src/session/local/actions.cc @@ -45,16 +45,19 @@ namespace TN3270 { Local::Action::Action(Session *session, const LIB3270_ACTION *descriptor) : TN3270::Action(descriptor) { + debug(__FUNCTION__,"(",(void *) descriptor,")"); this->session = session; } bool Local::Action::activatable() const noexcept { std::lock_guard lock(this->session->sync); + debug(__FUNCTION__,"(",(void *) descriptor,")"); return lib3270_action_is_activatable(this->descriptor,this->session->hSession); } void Local::Action::activate() { std::lock_guard lock(this->session->sync); + debug(__FUNCTION__,"(",(void *) descriptor,")"); chkResponse(lib3270_action_activate(this->descriptor,this->session->hSession)); } diff --git a/client/src/session/local/private.h b/client/src/session/local/private.h index 47ef7c6..a7772a4 100644 --- a/client/src/session/local/private.h +++ b/client/src/session/local/private.h @@ -59,7 +59,6 @@ class Action : public TN3270::Action { private: Session *session; - const LIB3270_ACTION *descriptor; public: Action(Session *hSession, const LIB3270_ACTION *descriptor); -- libgit2 0.21.2