2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
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.
17 #ifndef __TIZEN_MEDIA_PLAYER_WLCLIENT_H__
18 #define __TIZEN_MEDIA_PLAYER_WLCLIENT_H__
20 #include <tbm_bufmgr.h>
21 #include <tizen-extension-client-protocol.h>
22 #include <wayland-client.h>
32 struct wl_display *display;
33 struct wl_registry *registry;
34 struct tizen_surface *tz_surface;
35 struct tizen_resource *tz_resource;
38 int _wl_client_create(wl_client ** wlclient);
39 int _wl_client_get_wl_window_wl_surface_id(wl_client * wlclient, struct wl_surface *surface, struct wl_display *display);
40 void _wl_client_finalize(wl_client * wlclient);
44 #endif /* __TIZEN_MEDIA_PLAYER_WLCLIENT_H__ */