diff --git a/globals.h b/globals.h index 23c9fda..8b400b8 100644 --- a/globals.h +++ b/globals.h @@ -142,12 +142,9 @@ enum iaction { IA_IDLE }; -/* Simple global variables - At some point in the future they'll be moved to the session structure */ - LIB3270_INTERNAL int COLS; LIB3270_INTERNAL int ROWS; - -#include "session.h" +LIB3270_INTERNAL H3270 h3270; #if defined(X3270_DISPLAY) /*[*/ LIB3270_INTERNAL Atom a_3270, a_registry, a_encoding; @@ -347,6 +344,14 @@ enum state_change #define PT_ON_THE_SPOT "OnTheSpot" #endif /*]*/ +/** input key type */ +enum keytype +{ + KT_STD, + KT_GE +}; + + /* Library internal calls */ void key_ACharacter(unsigned char c, enum keytype keytype, enum iaction cause,Boolean *skipped); void lib3270_initialize(void); diff --git a/lib3270.cbp b/lib3270.cbp index 0ce2b46..34aa5d0 100644 --- a/lib3270.cbp +++ b/lib3270.cbp @@ -7,8 +7,8 @@