private:
void threadMethod();
- void threadPostStopCleanup() {};
int audioEnabled;
bool callbacksend;
Callback& cb;
void lockOutput();
void unlockOutput();
void threadMethod();
- void threadPostStopCleanup() {};
#ifndef WIN32
pthread_mutex_t input_mutex;
pthread_mutex_t output_mutex;
return;
}
-void ImageReader::threadPostStopCleanup()
-{
-}
-
void ImageReader::call(void *) {
threadSignalNoLock();
}
protected:
void threadMethod();
- void threadPostStopCleanup();
private:
MediaProvider * provider;
class Input: public AbstractOption
{
public:
+ virtual ~Input() {}
+
virtual bool start() { return false; }
virtual void stop() {}
const char* getHardCodedHardwareKeyNamesForVompKey(UCHAR vompKey);
private:
- constexpr static char* myModName = "InputCEC";
+ static constexpr const char* myModName = "InputCEC";
const char* modName() { return myModName; }
void InitKeymap();
void InitHWCListwithDefaults();
void stop();
private:
- constexpr static char* myModName = "InputLinux";
+ static constexpr const char* myModName = "InputLinux";
const char* modName() { return myModName; }
int initted{};
sendInputKey(command);
}
-const char* InputUDP::getHardCodedHardwareKeyNamesForVompKey(UCHAR vompKey)
+const char* InputUDP::getHardCodedHardwareKeyNamesForVompKey(UCHAR /* vompKey */)
{
return "";
}
-std::string InputUDP::getHardwareKeyName(int hardwareKey)
+std::string InputUDP::getHardwareKeyName(int /* hardwareKey */)
{
std::string retval;
return retval;
// InputUDP doesn't do any translation stuff so just keep everything happy here
void InitHWCListwithDefaults() {};
- UCHAR TranslateHWCFixed(int code) { return code; };
+ UCHAR TranslateHWCFixed(int code) { return static_cast<UCHAR>(code); };
const char* getHardCodedHardwareKeyNamesForVompKey(UCHAR vompKey);
std::string getHardwareKeyName(int hardwareKey);
private:
- constexpr static char* myModName = "InputUDP";
+ static constexpr const char* myModName = "InputUDP";
const char* modName() { return myModName; }
bool initted{};
//eglMakeCurrent(egl_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT );
}
-
-void OsdOpenGL::threadPostStopCleanup()
-{
- //Doing nothing
- //goo;
-}
-
-
-
void OsdOpenGL::InternalRendering(){
BeginPainting();
void threadMethod();
- void threadPostStopCleanup();
// This indicates, that currently a video is played, thus the osd updates are driven by the Videosystem
bool external_driving;
eglMakeCurrent(egl_display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT );
}
-
-void OsdOpenVG::threadPostStopCleanup()
-{
- //Doing nothing
- //goo;
- Log::getInstance()->log("OSD", Log::NOTICE, "Exiting drawing thread");
-}
-
void OsdOpenVG::InternalRendering(){
vgmutex.Lock();
Colour bg=DrawStyle::WALLPAPER;
void threadMethod();
- void threadPostStopCleanup();
/* BCM specific */
}
}
-void OsdVector::PictureReader::threadPostStopCleanup()
-{
-
-}
-
void OsdVector::PictureReader::invalidateLoadIndex(LoadIndex index)
{
pict_lock_incoming.Lock();
protected:
void threadMethod();
- void threadPostStopCleanup();
Mutex pict_lock_incoming; //locks
Mutex decoders_lock;
protected:
void threadMethod();
- void threadPostStopCleanup() {};
private:
MessageQueue* messageQueue;
protected:
void threadMethod();
- void threadPostStopCleanup() {};
private:
bool subtitlesShowing;
private:
void threadMethod();
- void threadPostStopCleanup() {
- };
int teletextEnabled;
Callback& cb;
};
protected:
// Override this method in classes derived from ThreadP or ThreadWin
virtual void threadMethod()=0;
- virtual void threadPostStopCleanup()=0;
+ virtual void threadPostStopCleanup() {};
// Methods to use from outside the thread
virtual int threadStart()=0; // start the thread. threadMethod() will be called in derived class
protected:
// Override this method in derived classes
virtual void threadMethod()=0;
- virtual void threadPostStopCleanup()=0;
+ virtual void threadPostStopCleanup() {};
// Methods to use from outside the thread
int threadStart(); // start the thread. threadMethod() will be called in derived class
virtual void run();
virtual void threadMethod();
- virtual void threadPostStopCleanup() {};
TimerReceiver* client;
int clientReference;
// Thread stuff
virtual void threadMethod();
- virtual void threadPostStopCleanup() {};
void timerEventFinished(TimerEvent* timerEvent); // internal use only, does not return
private:
void threadMethod();
- void threadPostStopCleanup() {};
void clearServerIPs();
BoxStack* boxstack;
// Thread
void threadMethod();
- void threadPostStopCleanup() {};
// EventDispatcher
virtual bool ed_cb_find(EDReceiver* edr, void* userTag);
private:
void threadMethod();
- void threadPostStopCleanup() {};
Callback& cb;
bool waitForSignal;
};
}
Log::getInstance()->log("DrawingThread",Log::DEBUG,"finishing interrupt=%d",(int)_interrupted);
}
- virtual void threadPostStopCleanup() {}
-
};
private:
virtual void threadMethod();
- virtual void threadPostStopCleanup() {};
int screenHeight;
int screenWidth;
const char* SetTime();
void shutdown();
virtual void threadMethod();
- virtual void threadPostStopCleanup() {};
private:
int sec{-1};
void timercall(int clientReference);
private:
- int displayCommand;
int displayVolume;
};
}
}
-
-void WindowsOsd::threadPostStopCleanup()
-{
- //Doing nothing
- //goo;
-}
-
void WindowsOsd::setExternalDriving(DsAllocator* dsall, DWORD width, DWORD height) {
if (swappy)
virtual int isInitialized()=0;
void threadMethod();
- void threadPostStopCleanup();
-
enum EVR_state {
EVR_pres_off = 0,
-#endif
\ No newline at end of file
+#endif