X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fstyling%2Fstyle-manager.cpp;h=e7231d6d9cc3309048561f4ba64ff26f41cdef31;hb=10213ff7b9185fbb7fd444c72c12dd4595b35204;hp=126c208396d7cd94195be52c2b07635013a19c71;hpb=030e7c680a6eb0e8d87bfdb8ec359a0267ef7db2;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/styling/style-manager.cpp b/dali-toolkit/public-api/styling/style-manager.cpp deleted file mode 100644 index 126c208..0000000 --- a/dali-toolkit/public-api/styling/style-manager.cpp +++ /dev/null @@ -1,104 +0,0 @@ -/* - * 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. - */ - -// CLASS HEADER - -#include - -// EXTERNAL INCLUDES - -// INTERNAL INCLUDES - -#include - -namespace Dali -{ - -namespace Toolkit -{ - -StyleManager::StyleManager() -{ -} - -StyleManager::~StyleManager() -{ -} - -StyleManager StyleManager::Get() -{ - return Internal::StyleManager::Get(); -} - -void StyleManager::SetOrientationValue( int orientation ) -{ - GetImpl(*this).SetOrientationValue( orientation ); -} - -int StyleManager::GetOrientationValue() -{ - return GetImpl(*this).GetOrientationValue(); -} - -void StyleManager::SetOrientation( Orientation orientation ) -{ - GetImpl(*this).SetOrientation( orientation ); -} - -Orientation StyleManager::GetOrientation() -{ - return GetImpl(*this).GetOrientation(); -} - -void StyleManager::SetStyleConstant( const std::string& key, const Property::Value& value ) -{ - GetImpl(*this).SetStyleConstant( key, value ); -} - -bool StyleManager::GetStyleConstant( const std::string& key, Property::Value& valueOut ) -{ - return GetImpl(*this).GetStyleConstant( key, valueOut ); -} - -void StyleManager::ApplyStyle( Toolkit::Control control, const std::string& jsonFileName, const std::string& styleName ) -{ - GetImpl(*this).ApplyStyle( control, jsonFileName, styleName ); -} - -StyleManager::StyleManager( Internal::StyleManager *impl ) - : BaseHandle( impl ) -{ -} - -StyleManager::StyleChangeSignalType& StyleManager::StyleChangeSignal() -{ - return GetImpl( *this ).StyleChangeSignal(); -} - -void StyleManager::RequestThemeChange( const std::string& themeFile ) -{ - GetImpl(*this).RequestThemeChange( themeFile ); -} - -void StyleManager::RequestDefaultTheme() -{ - GetImpl(*this).RequestDefaultTheme(); -} - -} // namespace Toolkit - -} // namespace Dali -