X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Fcommon%2Fdemangler.h;h=4d9790b23571bdef1b09fce09253047cb580d2d3;hb=bc5f2ec93cdcd1d1fbd796292e37606ab894087a;hp=1ccbfc0c271949a6159abfcc96f6b6a76a48e30e;hpb=21a41c6781177b439cf61719e06454c2d7e8cfa9;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/common/demangler.h b/dali/internal/event/common/demangler.h index 1ccbfc0..4d9790b 100644 --- a/dali/internal/event/common/demangler.h +++ b/dali/internal/event/common/demangler.h @@ -1,28 +1,26 @@ -#ifndef __DALI_DEMANGLER_H__ -#define __DALI_DEMANGLER_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. -// +#ifndef DALI_DEMANGLER_H +#define DALI_DEMANGLER_H + +/* + * Copyright (c) 2019 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 -// INTERNAL INCLUDES -#include - namespace Dali { @@ -30,24 +28,14 @@ namespace Internal { /** - * Demangle a nested typeid name into its component parts. - * A nested type name is one containing namespaces and class names only. - * eg DemangleNestedNames(typeid(Dali::Actor).name()); - * @param[in] typeIdName The type id name string to demangle. - * @returns the demangled list of names ie ["Dali","Actor"] or an empty list - */ -std::vector DemangleNestedNames(const char *typeIdName); - -/** - * Demangle a nested typeid name to its class name. + * @brief Demangle a nested typeid name to its class name. * @param[in] typeIdName The type id name string to demangle. * @returns the class name ie "Actor" or an empty string */ const std::string DemangleClassName(const char *typeIdName); -} - -} +} // namespace Internal +} // namespace Dali -#endif // header +#endif // DALI_DEMANGLER_H