diff options
Diffstat (limited to 'vcl/inc/unx/gtk/gtkinst.hxx')
-rw-r--r-- | vcl/inc/unx/gtk/gtkinst.hxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcl/inc/unx/gtk/gtkinst.hxx b/vcl/inc/unx/gtk/gtkinst.hxx index 5d3f8ef6482f..d1014ecec2f6 100644 --- a/vcl/inc/unx/gtk/gtkinst.hxx +++ b/vcl/inc/unx/gtk/gtkinst.hxx @@ -29,11 +29,21 @@ #ifndef _VCL_GTKINST_HXX #define _VCL_GTKINST_HXX +#include <boost/shared_ptr.hpp> + #include <unx/salinst.h> #include <generic/gensys.h> #include <headless/svpinst.hxx> #include <gtk/gtk.h> +namespace vcl +{ +namespace unx +{ +class GtkPrintWrapper; +} +} + class GenPspGraphics; class GtkYieldMutex : public SalYieldMutex { @@ -125,6 +135,8 @@ public: // for managing a mirror of the in-flight un-dispatched gdk event queue void addEvent( sal_uInt16 nMask ); void subtractEvent( sal_uInt16 nMask ); + + boost::shared_ptr<vcl::unx::GtkPrintWrapper> getPrintWrapper() const; private: std::vector<GtkSalTimer *> m_aTimers; bool IsTimerExpired(); @@ -132,6 +144,7 @@ public: // count of in-flight un-dispatched gdk events of a given input type sal_uInt32 m_nAnyInput[16]; void resetEvents(); + mutable boost::shared_ptr<vcl::unx::GtkPrintWrapper> m_pPrintWrapper; }; #endif // _VCL_GTKINST_HXX |