#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) 2015 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>
+#include <dali/internal/event/common/stage-def.h>
namespace Dali
{
class ResourceClient;
class ResourceManager;
class ImageFactory;
-class ModelFactory;
-class FontFactory;
class ShaderFactory;
-class EventToUpdate;
class GestureEventProcessor;
-class EmojiFactory;
+class RelayoutController;
namespace SceneGraph
{
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
*/
ImageFactory& GetImageFactory();
/**
- * Returns the Model Factory
- * @return reference to the Image Factory
- */
- ModelFactory& GetModelFactory();
-
- /**
- * Returns the Font Factory
- * @return reference to the Font Factory
- */
- FontFactory& GetFontFactory();
-
- /**
* Returns the Shader Factory
* @return reference to the Shader Factory
*/
/**
* Returns the current stage.
- * @return A smart-pointer to the current stage.
+ * @return A pointer to the current stage.
*/
StagePtr GetCurrentStage();
/**
- * Return the message controller
- * @return A reference to the message controller
- */
- EventToUpdate& GetEventToUpdate();
-
- /**
* Returns the gesture event processor.
* @return A reference to the gesture event processor.
*/
GestureEventProcessor& GetGestureEventProcessor();
/**
- * Returns the Emoji factory.
- * @return a reference to the Emoji factory.
+ * Return the relayout controller
+ * @Return Return a reference to the relayout controller
*/
- EmojiFactory& GetEmojiFactory();
+ RelayoutController& GetRelayoutController();
private:
- Core* mCore; ///< reference to core
+ Core* mCore; ///< reference to core
};