#ifndef __DALI_INTERNAL_FONT_METRICS_H__
#define __DALI_INTERNAL_FONT_METRICS_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.
+ *
+ */
// EXTERNAL INCLUDES
#include <string>
// Forward declarations.
class FontMetrics;
-class ResourceClient;
typedef IntrusivePtr<FontMetrics> FontMetricsIntrusivePtr;
* @param [in] fontId font id.
* @param [in] fontFamily the font family
* @param [in] fontStyle the font style
- * @param [in] resourceClient resource client
* @return An intrusive-pointer to the new instance.
*/
static FontMetricsIntrusivePtr New( const Vector2& dpi,
const std::size_t hashValue,
const FontId fontId,
const std::string& fontFamily,
- const std::string& fontStyle,
- ResourceClient& resourceClient );
+ const std::string& fontStyle );
/**
const std::size_t hashValue,
const FontId fontId,
const std::string& fontFamily,
- const std::string& fontStyle,
- ResourceClient& resourceClient );
+ const std::string& fontStyle );
/**
* Virtual destructor.
unsigned int mFontCount; ///< How many font objects are using this font, used to know when it should be deleted from font factory
bool mMetricsLoaded; ///< Whether the metrics cache has been loaded
Integration::PlatformAbstraction& mPlatform; ///< platform abstraction
- ResourceClient& mResourceClient; ///< resource client
};
} // namespace Internal