Blame client/X11/xf_rail.h

Packit 1fb8d4
/**
Packit 1fb8d4
 * FreeRDP: A Remote Desktop Protocol Implementation
Packit 1fb8d4
 * X11 RAIL
Packit 1fb8d4
 *
Packit 1fb8d4
 * Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
Packit 1fb8d4
 *
Packit 1fb8d4
 * Licensed under the Apache License, Version 2.0 (the "License");
Packit 1fb8d4
 * you may not use this file except in compliance with the License.
Packit 1fb8d4
 * You may obtain a copy of the License at
Packit 1fb8d4
 *
Packit 1fb8d4
 *     http://www.apache.org/licenses/LICENSE-2.0
Packit 1fb8d4
 *
Packit 1fb8d4
 * Unless required by applicable law or agreed to in writing, software
Packit 1fb8d4
 * distributed under the License is distributed on an "AS IS" BASIS,
Packit 1fb8d4
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Packit 1fb8d4
 * See the License for the specific language governing permissions and
Packit 1fb8d4
 * limitations under the License.
Packit 1fb8d4
 */
Packit 1fb8d4
Packit 1fb8d4
#ifndef FREERDP_CLIENT_X11_RAIL_H
Packit 1fb8d4
#define FREERDP_CLIENT_X11_RAIL_H
Packit 1fb8d4
Packit 1fb8d4
#include "xf_client.h"
Packit 1fb8d4
#include "xfreerdp.h"
Packit 1fb8d4
Packit 1fb8d4
#include <freerdp/client/rail.h>
Packit 1fb8d4
Packit 1fb8d4
void xf_rail_paint(xfContext* xfc, INT32 uleft, INT32 utop, UINT32 uright, UINT32 ubottom);
Packit 1fb8d4
void xf_rail_send_client_system_command(xfContext* xfc, UINT32 windowId, UINT16 command);
Packit 1fb8d4
void xf_rail_send_activate(xfContext* xfc, Window xwindow, BOOL enabled);
Packit 1fb8d4
void xf_rail_adjust_position(xfContext* xfc, xfAppWindow* appWindow);
Packit 1fb8d4
void xf_rail_end_local_move(xfContext* xfc, xfAppWindow* appWindow);
Packit 1fb8d4
void xf_rail_enable_remoteapp_mode(xfContext* xfc);
Packit 1fb8d4
void xf_rail_disable_remoteapp_mode(xfContext* xfc);
Packit 1fb8d4
Packit Service 5a9772
xfAppWindow* xf_rail_add_window(xfContext* xfc, UINT64 id, UINT32 x, UINT32 y, UINT32 width,
Packit Service 5a9772
                                UINT32 height, UINT32 surfaceId);
Packit Service 5a9772
xfAppWindow* xf_rail_get_window(xfContext* xfc, UINT64 id);
Packit Service 5a9772
Packit Service 5a9772
BOOL xf_rail_del_window(xfContext* xfc, UINT64 id);
Packit Service 5a9772
Packit Service 5a9772
BOOL xf_rail_draw_window(xfContext* xfc, xfAppWindow* window, const char* data, UINT32 scanline,
Packit Service 5a9772
                         UINT32 width, UINT32 height, const RECTANGLE_16* src,
Packit Service 5a9772
                         const RECTANGLE_16* dst);
Packit Service 5a9772
Packit 1fb8d4
int xf_rail_init(xfContext* xfc, RailClientContext* rail);
Packit 1fb8d4
int xf_rail_uninit(xfContext* xfc, RailClientContext* rail);
Packit 1fb8d4
Packit 1fb8d4
#endif /* FREERDP_CLIENT_X11_RAIL_H */