summaryrefslogtreecommitdiff
path: root/vcl/inc/unx/gtk/gtkinst.hxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2011-10-03 20:00:17 +0100
committerMichael Meeks <michael.meeks@suse.com>2011-10-25 13:41:52 +0100
commitcaccd13297506fad6b528617c6a53adcda79267a (patch)
tree167bcb4328cf7b518889cc232a1c6b92a7627089 /vcl/inc/unx/gtk/gtkinst.hxx
parentc529623457889a67473f773d080941903e2784fc (diff)
gtk3: try to improve AnyInput (absent toolkit support for it)
Diffstat (limited to 'vcl/inc/unx/gtk/gtkinst.hxx')
-rw-r--r--vcl/inc/unx/gtk/gtkinst.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/inc/unx/gtk/gtkinst.hxx b/vcl/inc/unx/gtk/gtkinst.hxx
index e27042aa9f6a..3df521822877 100644
--- a/vcl/inc/unx/gtk/gtkinst.hxx
+++ b/vcl/inc/unx/gtk/gtkinst.hxx
@@ -79,6 +79,7 @@ public:
#define GTK_YIELD_GRAB() GtkYieldMutex::GtkYieldGuard aLocalGtkYieldGuard( static_cast<GtkYieldMutex*>(GetSalData()->m_pInstance->GetYieldMutex()) )
+class GtkSalTimer;
#if GTK_CHECK_VERSION(3,0,0)
class GtkInstance : public SvpSalInstance
{
@@ -109,6 +110,11 @@ public:
virtual void Yield( bool bWait, bool bHandleAllCurrentEvents );
virtual bool AnyInput( sal_uInt16 nType );
+
+ void RemoveTimer (SalTimer *pTimer);
+ private:
+ std::vector<GtkSalTimer *> m_aTimers;
+ bool IsTimerExpired();
};
#endif // _VCL_GTKINST_HXX