2012-08-16 02:01:06 +04:00
|
|
|
/**
|
|
|
|
* FreeRDP: A Remote Desktop Protocol Client
|
|
|
|
* FreeRDP Windows Server
|
|
|
|
*
|
|
|
|
* Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef WF_PEER_H
|
|
|
|
#define WF_PEER_H
|
|
|
|
|
|
|
|
#include "wfreerdp.h"
|
2012-08-18 22:34:24 +04:00
|
|
|
#include "wf_info.h"
|
2012-08-16 02:01:06 +04:00
|
|
|
|
|
|
|
void wf_peer_context_new(freerdp_peer* client, wfPeerContext* context);
|
|
|
|
void wf_peer_context_free(freerdp_peer* client, wfPeerContext* context);
|
|
|
|
|
|
|
|
void wf_peer_init(freerdp_peer* client);
|
|
|
|
|
2012-08-18 00:24:56 +04:00
|
|
|
void wf_rfx_encode(freerdp_peer* client);
|
|
|
|
//void wf_peer_rfx_update(freerdp_peer* client, int x, int y, int width, int height);
|
2012-08-16 02:01:06 +04:00
|
|
|
|
|
|
|
boolean wf_peer_post_connect(freerdp_peer* client);
|
|
|
|
boolean wf_peer_activate(freerdp_peer* client);
|
|
|
|
|
|
|
|
void wf_peer_synchronize_event(rdpInput* input, uint32 flags);
|
|
|
|
|
2012-08-19 03:46:42 +04:00
|
|
|
void wf_peer_send_changes(rdpUpdate* update);
|
2012-08-18 22:34:24 +04:00
|
|
|
|
2012-08-16 02:01:06 +04:00
|
|
|
wfInfo * wfInfoSingleton;
|
|
|
|
|
|
|
|
#endif /* WF_PEER_H */
|