OSDN Git Service

Added #if (COGBOT_LIBOMV || USE_STHREADS) for when ran from cogbot's libomv
authorDouglas R. Miles <logicmoo@gmail.com>
Sat, 19 Jan 2013 05:50:40 +0000 (21:50 -0800)
committerDouglas R. Miles <logicmoo@gmail.com>
Sat, 19 Jan 2013 05:50:40 +0000 (21:50 -0800)
plugins/Radegast.Plugin.Speech/RadSpeech/Conversation/Control.cs
plugins/Radegast.Plugin.Speech/RadSpeech/Talk/Control.cs

index 32899a2..f68893c 100644 (file)
@@ -6,7 +6,13 @@ using OpenMetaverse;
 using Radegast;
 using System.Text.RegularExpressions;
 using System.Net;
-using System.Windows.Forms;
+using System.Windows.Forms;\r
+#if (COGBOT_LIBOMV || USE_STHREADS)
+using ThreadPoolUtil;
+using Thread = ThreadPoolUtil.Thread;
+using ThreadPool = ThreadPoolUtil.ThreadPool;
+using Monitor = ThreadPoolUtil.Monitor;
+#endif
 using System.Threading;
 
 namespace RadegastSpeech.Conversation
index 45a0237..21e4ee0 100644 (file)
@@ -5,8 +5,14 @@ using System.Text;
 using System.IO;
 using System.Threading;
 using OpenMetaverse;
-using Radegast;
-
+using Radegast;\r
+\r
+#if (COGBOT_LIBOMV || USE_STHREADS)\r
+using ThreadPoolUtil;\r
+using Thread = ThreadPoolUtil.Thread;\r
+using ThreadPool = ThreadPoolUtil.ThreadPool;\r
+using Monitor = ThreadPoolUtil.Monitor;\r
+#endif
 
 namespace RadegastSpeech.Talk
 {