OSDN Git Service

Added support for the Visual Leak Detector. This effects "Debug" builds only.
[lamexp/LameXP.git] / src / Thread_MessageHandler.h
index 6ffd07b..0f2034a 100644 (file)
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
 // LameXP - Audio Encoder Front-End
-// Copyright (C) 2004-2010 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2012 LoRd_MuldeR <MuldeR2@GMX.de>
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -29,5 +29,17 @@ class MessageHandlerThread: public QThread
 
 public:
        MessageHandlerThread(void);
+       ~MessageHandlerThread(void);
        void run();
+       void stop(void);
+
+private:
+       char *m_parameter;
+       volatile bool m_aborted;
+
+signals:
+       void otherInstanceDetected(void);
+       void fileReceived(const QString &filePath);
+       void folderReceived(const QString &filePath, bool recursive);
+       void killSignalReceived(void);
 };