From f59dfa08651a47f21d004e8e4cb5020b8035287e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:25 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 83fbc82a101309e171089f0d5ed080f82a367345. --- mpeglib/example/yaf/yafcore/inputDecoder.cpp | 4 ++-- mpeglib/example/yaf/yafcore/inputDecoder.h | 4 ++-- mpeglib/example/yaf/yafcore/yaf_control.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'mpeglib/example/yaf/yafcore') diff --git a/mpeglib/example/yaf/yafcore/inputDecoder.cpp b/mpeglib/example/yaf/yafcore/inputDecoder.cpp index e24b7758..cc8aa0a5 100644 --- a/mpeglib/example/yaf/yafcore/inputDecoder.cpp +++ b/mpeglib/example/yaf/yafcore/inputDecoder.cpp @@ -173,13 +173,13 @@ void InputDecoder::doSomething(){ -int InputDecoder::getDecoderStatus() { +int InputDecoder::getDecodertqStatus() { return status; } -void InputDecoder::setDecoderStatus(int newState) { +void InputDecoder::setDecodertqStatus(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 0a5623a0..6382228d 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 setDecoderStatus(int status); - int getDecoderStatus(); + virtual void setDecodertqStatus(int status); + int getDecodertqStatus(); const char* getReturnCode(); diff --git a/mpeglib/example/yaf/yafcore/yaf_control.cpp b/mpeglib/example/yaf/yafcore/yaf_control.cpp index 6e789588..6192f36b 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->getDecoderStatus(); + status=decoder->getDecodertqStatus(); if (status == _DECODER_STATUS_EXIT) { break; -- cgit v1.2.1