diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:33:07 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:33:07 -0600 |
commit | 3c299dfe48c0060272c2966fff599b3b417e2ee4 (patch) | |
tree | f248b71f55539d6689a4cbe086d5d8cc146c8998 /mpeglib/example | |
parent | f59dfa08651a47f21d004e8e4cb5020b8035287e (diff) | |
download | tdemultimedia-3c299dfe48c0060272c2966fff599b3b417e2ee4.tar.gz tdemultimedia-3c299dfe48c0060272c2966fff599b3b417e2ee4.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'mpeglib/example')
-rw-r--r-- | mpeglib/example/yaf/yafcore/inputDecoder.cpp | 4 | ||||
-rw-r--r-- | mpeglib/example/yaf/yafcore/inputDecoder.h | 4 | ||||
-rw-r--r-- | mpeglib/example/yaf/yafcore/yaf_control.cpp | 2 | ||||
-rw-r--r-- | mpeglib/example/yaf/yafxplayer/inputDecoderXPlayer.cpp | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/mpeglib/example/yaf/yafcore/inputDecoder.cpp b/mpeglib/example/yaf/yafcore/inputDecoder.cpp index cc8aa0a5..e24b7758 100644 --- a/mpeglib/example/yaf/yafcore/inputDecoder.cpp +++ b/mpeglib/example/yaf/yafcore/inputDecoder.cpp @@ -173,13 +173,13 @@ void InputDecoder::doSomething(){ -int InputDecoder::getDecodertqStatus() { +int InputDecoder::getDecoderStatus() { return status; } -void InputDecoder::setDecodertqStatus(int newState) { +void InputDecoder::setDecoderStatus(int newState) { // First start a new thread with start()! // Their is no recovery if the thread status is set to exit! diff --git a/mpeglib/example/yaf/yafcore/inputDecoder.h b/mpeglib/example/yaf/yafcore/inputDecoder.h index 6382228d..0a5623a0 100644 --- a/mpeglib/example/yaf/yafcore/inputDecoder.h +++ b/mpeglib/example/yaf/yafcore/inputDecoder.h @@ -49,8 +49,8 @@ class KDE_EXPORT InputDecoder { virtual const char* processCommand(int command,const char* args); virtual void doSomething(); - virtual void setDecodertqStatus(int status); - int getDecodertqStatus(); + virtual void setDecoderStatus(int status); + int getDecoderStatus(); const char* getReturnCode(); diff --git a/mpeglib/example/yaf/yafcore/yaf_control.cpp b/mpeglib/example/yaf/yafcore/yaf_control.cpp index 6192f36b..6e789588 100644 --- a/mpeglib/example/yaf/yafcore/yaf_control.cpp +++ b/mpeglib/example/yaf/yafcore/yaf_control.cpp @@ -37,7 +37,7 @@ void yaf_control(InputInterface* input, while(1) { - status=decoder->getDecodertqStatus(); + status=decoder->getDecoderStatus(); if (status == _DECODER_STATUS_EXIT) { break; diff --git a/mpeglib/example/yaf/yafxplayer/inputDecoderXPlayer.cpp b/mpeglib/example/yaf/yafxplayer/inputDecoderXPlayer.cpp index 0d1bd034..4b3bf3b3 100644 --- a/mpeglib/example/yaf/yafxplayer/inputDecoderXPlayer.cpp +++ b/mpeglib/example/yaf/yafxplayer/inputDecoderXPlayer.cpp @@ -29,7 +29,7 @@ InputDecoderXPlayer::InputDecoderXPlayer(YafOutputStream* yafOutput) : this->yafOutput=yafOutput; ct=new CommandTableXPlayer(); - setDecodertqStatus(_DECODER_STATUS_IDLE); + setDecoderStatus(_DECODER_STATUS_IDLE); appendCommandTable(ct); majorMode=_PLAYER_MAJOR_MODE_OFF; setRuntimeInfo(false); @@ -161,7 +161,7 @@ const char* InputDecoderXPlayer::processCommand(int command,const char* args){ } if (command == _PLAYER_PLAY) { - setDecodertqStatus(_DECODER_STATUS_WORKING); + setDecoderStatus(_DECODER_STATUS_WORKING); setMajorMode(_PLAYER_MAJOR_MODE_PLAYING); return""; } |