From 8e903cd3ea735adf066e156462602987691a4c69 Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 24 Sep 2004 15:09:56 +0000 Subject: -Emit Progress from the xine Engine to Global::statusMessage -Change ThreadUtil to pass data and const char* among threads --- (limited to 'noncore/multimedia/opieplayer2/threadutil.h') diff --git a/noncore/multimedia/opieplayer2/threadutil.h b/noncore/multimedia/opieplayer2/threadutil.h index 2e83d3a..f97a18b 100644 --- a/noncore/multimedia/opieplayer2/threadutil.h +++ b/noncore/multimedia/opieplayer2/threadutil.h @@ -133,10 +133,12 @@ namespace ThreadUtil { friend class Channel; public: - ChannelMessage( int type = -1 ); + ChannelMessage( int type = -1, int data = -1, const char* msg = 0 ); virtual ~ChannelMessage(); int type() const { return m_type; } + int data() const { return m_data; } + const char* msg()const { return m_msg; } void reply(); @@ -145,6 +147,8 @@ namespace ThreadUtil ChannelMessage &operator=( const ChannelMessage ); int m_type; + int m_data; + const char *m_msg; bool m_isCall : 1; bool m_replied : 1; bool m_inEventHandler : 1; -- cgit v0.9.0.2