Removed model loading and lighting
[platform/core/uifw/dali-core.git] / dali / internal / event / common / thread-local-storage.h
index ff3b114..023d2af 100644 (file)
@@ -1,21 +1,22 @@
 #ifndef __DALI_INTERNAL_THREAD_LOCAL_STORAGE_H__
 #define __DALI_INTERNAL_THREAD_LOCAL_STORAGE_H__
 
-//
-// Copyright (c) 2014 Samsung Electronics Co., Ltd.
-//
-// Licensed under the Flora License, Version 1.0 (the License);
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//     http://floralicense.org/license/
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an AS IS BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
+/*
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
 
 // INTERNAL INCLUDES
 #include <dali/internal/event/common/stage-impl.h>
@@ -38,7 +39,6 @@ class NotificationManager;
 class ResourceClient;
 class ResourceManager;
 class ImageFactory;
-class ModelFactory;
 class FontFactory;
 class ShaderFactory;
 class EventToUpdate;
@@ -89,6 +89,12 @@ public:
   static bool Created();
 
   /**
+   * Get a pointer to the TLS or NULL if not initialized
+   * @return pointer to the TLS
+   */
+  static ThreadLocalStorage* GetInternal();
+
+  /**
    * get platform abstraction
    * @return reference to core
    */
@@ -125,12 +131,6 @@ public:
   ImageFactory& GetImageFactory();
 
   /**
-   * Returns the Model Factory
-   * @return reference to the Image Factory
-   */
-  ModelFactory& GetModelFactory();
-
-  /**
    * Returns the Font Factory
    * @return reference to the Font Factory
    */