diff --git a/lib/main/console/pikbdlistener.h b/lib/main/console/pikbdlistener.h index d1eab548..c1bf9906 100644 --- a/lib/main/console/pikbdlistener.h +++ b/lib/main/console/pikbdlistener.h @@ -77,7 +77,7 @@ public: typedef PIFlags KeyModifiers; //! This struct contains information about pressed keyboard key - struct KeyEvent { + struct PIP_EXPORT KeyEvent { KeyEvent(int k = 0, KeyModifiers m = 0) {key = k; modifiers = m;} //! Pressed key. It can be simple \b char or special key (see PIKbdListener::SpecialKey) @@ -106,7 +106,7 @@ public: typedef PIFlags MouseButtons; //! This struct contains information about mouse action - struct MouseEvent { + struct PIP_EXPORT MouseEvent { MouseEvent(MouseAction a = MouseButtonPress, MouseButtons b = 0, KeyModifiers m = 0) {x = y = 0; action = a; buttons = b; modifiers = m;} //! Event X coordinate in view-space, from 0 @@ -126,7 +126,7 @@ public: }; //! This struct contains information about mouse wheel action - struct WheelEvent: public MouseEvent { + struct PIP_EXPORT WheelEvent: public MouseEvent { WheelEvent(): MouseEvent() {direction = false;} //! Wheel direction, /b true - up, /b fasle - down @@ -207,7 +207,7 @@ private: void end(); #ifndef WINDOWS - struct EscSeq { + struct PIP_EXPORT EscSeq { const char * seq; int key; int mod; diff --git a/lib/main/console/piscreenconsole.h b/lib/main/console/piscreenconsole.h index 7d0582ff..cd45ba73 100644 --- a/lib/main/console/piscreenconsole.h +++ b/lib/main/console/piscreenconsole.h @@ -35,7 +35,7 @@ class PIP_CONSOLE_EXPORT TileVars: public PIScreenTile { public: TileVars(const PIString & n = PIString()); protected: - struct Variable { + struct PIP_CONSOLE_EXPORT Variable { Variable() {nx = ny = type = offset = bitFrom = bitCount = size = 0; format = PIScreenTypes::CellFormat(); ptr = 0;} bool isEmpty() const {return (ptr == 0);} PIString name; diff --git a/lib/main/console/piscreentypes.h b/lib/main/console/piscreentypes.h index 2d88cea7..05335ed1 100644 --- a/lib/main/console/piscreentypes.h +++ b/lib/main/console/piscreentypes.h @@ -127,7 +127,7 @@ namespace PIScreenTypes { PIVariant data; }; - class PIScreenBase { + class PIP_CONSOLE_EXPORT PIScreenBase { public: PIScreenBase() {} virtual ~PIScreenBase() {}