summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/threadutil.h
authorzecke <zecke>2004-09-24 15:09:56 (UTC)
committer zecke <zecke>2004-09-24 15:09:56 (UTC)
commit8e903cd3ea735adf066e156462602987691a4c69 (patch) (side-by-side diff)
treeb05fe7cc6d46cbacdc47fe3f0411100076bc8a52 /noncore/multimedia/opieplayer2/threadutil.h
parent478b2ead47a09956cadfacb8f469fb2fdee5531c (diff)
downloadopie-8e903cd3ea735adf066e156462602987691a4c69.zip
opie-8e903cd3ea735adf066e156462602987691a4c69.tar.gz
opie-8e903cd3ea735adf066e156462602987691a4c69.tar.bz2
-Emit Progress from the xine Engine to Global::statusMessage
-Change ThreadUtil to pass data and const char* among threads
Diffstat (limited to 'noncore/multimedia/opieplayer2/threadutil.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/threadutil.h6
1 files changed, 5 insertions, 1 deletions
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;