Author: tabish
Date: Fri Nov 13 15:45:46 2009
New Revision: 835885

URL: http://svn.apache.org/viewvc?rev=835885&view=rev
Log:
Make this interface compile

Modified:
    
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ThreadFactory.h

Modified: 
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ThreadFactory.h
URL: 
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ThreadFactory.h?rev=835885&r1=835884&r2=835885&view=diff
==============================================================================
--- 
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ThreadFactory.h
 (original)
+++ 
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ThreadFactory.h
 Fri Nov 13 15:45:46 2009
@@ -18,7 +18,13 @@
 #ifndef _DECAF_UTIL_CONCURRENT_THREADFACTORY_H_
 #define _DECAF_UTIL_CONCURRENT_THREADFACTORY_H_
 
+#include <decaf/util/Config.h>
+
 namespace decaf {
+namespace lang {
+    class Thread;
+    class Runnable;
+}
 namespace util {
 namespace concurrent {
 
@@ -44,7 +50,7 @@
      *
      * @since 1.0
      */
-    class ThreadFactory {
+    class DECAF_API ThreadFactory {
     public:
 
         virtual ~ThreadFactory() {}
@@ -61,7 +67,7 @@
          * @returns constructed thread, or NULL if the request to create a 
thread is rejected
          *          the caller owns the returned pointer.
          */
-        virtual Thread* newThread( Runnable* r ) = 0;
+        virtual decaf::lang::Thread* newThread( decaf::lang::Runnable* r ) = 0;
 
     };
 


Reply via email to