2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #include <adaptor-impl.h>
23 #ifdef APPCORE_WATCH_AVAILABLE
24 #include <aul_rsm_provider.h>
25 #include <ecore-wl-render-surface.h>
37 void Adaptor::GetDataStoragePath( std::string& path)
40 char *pathInt = app_get_data_path();
54 void Adaptor::GetAppId( std::string& appId )
70 void Adaptor::SurfaceInitialized()
72 #ifdef APPCORE_WATCH_AVAILABLE
73 if ( !mUseRemoteSurface )
80 Ecore_Wl_Window* ecoreWlWindow = AnyCast<Ecore_Wl_Window*>( mNativeWindow );
81 aul_rsm_provider_remote_enable(appId, ecore_wl_window_surface_get(ecoreWlWindow));
85 } // namespace Adaptor
87 } // namespace Internal