merge with master
[framework/web/wrt-plugins-common.git] / src / Commons / ThreadPool.h
old mode 100755 (executable)
new mode 100644 (file)
index 7ee9ed6..ada3233
 
 namespace WrtDeviceApis {
 namespace Commons {
-
 class ThreadEnum
 {
   private:
     ThreadEnum()
-    {
-    }
+    {}
+
   public:
     enum Enumeration
     {
@@ -80,7 +79,6 @@ class ThreadEnum
     };
 };
 
-
 class ThreadPool : private DPL::Noncopyable
 {
   private:
@@ -93,6 +91,7 @@ class ThreadPool : private DPL::Noncopyable
     //DPL::MainEventDispatcher m_mainEventDispatcher;
 
     ThreadPool();
+
   public:
     ~ThreadPool();
 
@@ -105,11 +104,10 @@ class ThreadPool : private DPL::Noncopyable
      * Get proper dispatcher for current calling thread
      */
     DPL::Event::AbstractEventDispatcher *getDispatcher(
-            DPL::Event::ThreadEventDispatcher &callingThreadDispatcher);
+        DPL::Event::ThreadEventDispatcher &callingThreadDispatcher);
 
     static ThreadPool& getInstance();
 };
-
 }
 } // WrtDeviceApisCommon