encomsp.h (3381B)
1/** 2 * FreeRDP: A Remote Desktop Protocol Implementation 3 * Multiparty Virtual Channel 4 * 5 * Copyright 2014 Marc-Andre Moreau <marcandre.moreau@gmail.com> 6 * Copyright 2015 Thincast Technologies GmbH 7 * Copyright 2015 DI (FH) Martin Haimberger <martin.haimberger@thincast.com> 8 * 9 * Licensed under the Apache License, Version 2.0 (the "License"); 10 * you may not use this file except in compliance with the License. 11 * You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, software 16 * distributed under the License is distributed on an "AS IS" BASIS, 17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 * See the License for the specific language governing permissions and 19 * limitations under the License. 20 */ 21 22#ifndef FREERDP_CHANNEL_ENCOMSP_CLIENT_ENCOMSP_H 23#define FREERDP_CHANNEL_ENCOMSP_CLIENT_ENCOMSP_H 24 25#include <freerdp/channels/encomsp.h> 26 27/** 28 * Client Interface 29 */ 30 31typedef struct _encomsp_client_context EncomspClientContext; 32 33typedef UINT (*pcEncomspFilterUpdated)(EncomspClientContext* context, 34 const ENCOMSP_FILTER_UPDATED_PDU* filterUpdated); 35typedef UINT (*pcEncomspApplicationCreated)( 36 EncomspClientContext* context, const ENCOMSP_APPLICATION_CREATED_PDU* applicationCreated); 37typedef UINT (*pcEncomspApplicationRemoved)( 38 EncomspClientContext* context, const ENCOMSP_APPLICATION_REMOVED_PDU* applicationRemoved); 39typedef UINT (*pcEncomspWindowCreated)(EncomspClientContext* context, 40 const ENCOMSP_WINDOW_CREATED_PDU* windowCreated); 41typedef UINT (*pcEncomspWindowRemoved)(EncomspClientContext* context, 42 const ENCOMSP_WINDOW_REMOVED_PDU* windowRemoved); 43typedef UINT (*pcEncomspShowWindow)(EncomspClientContext* context, 44 const ENCOMSP_SHOW_WINDOW_PDU* showWindow); 45typedef UINT (*pcEncomspParticipantCreated)( 46 EncomspClientContext* context, const ENCOMSP_PARTICIPANT_CREATED_PDU* participantCreated); 47typedef UINT (*pcEncomspParticipantRemoved)( 48 EncomspClientContext* context, const ENCOMSP_PARTICIPANT_REMOVED_PDU* participantRemoved); 49typedef UINT (*pcEncomspChangeParticipantControlLevel)( 50 EncomspClientContext* context, 51 const ENCOMSP_CHANGE_PARTICIPANT_CONTROL_LEVEL_PDU* changeParticipantControlLevel); 52typedef UINT (*pcEncomspGraphicsStreamPaused)( 53 EncomspClientContext* context, const ENCOMSP_GRAPHICS_STREAM_PAUSED_PDU* graphicsStreamPaused); 54typedef UINT (*pcEncomspGraphicsStreamResumed)( 55 EncomspClientContext* context, 56 const ENCOMSP_GRAPHICS_STREAM_RESUMED_PDU* graphicsStreamResumed); 57 58struct _encomsp_client_context 59{ 60 void* handle; 61 void* custom; 62 63 pcEncomspFilterUpdated FilterUpdated; 64 pcEncomspApplicationCreated ApplicationCreated; 65 pcEncomspApplicationRemoved ApplicationRemoved; 66 pcEncomspWindowCreated WindowCreated; 67 pcEncomspWindowRemoved WindowRemoved; 68 pcEncomspShowWindow ShowWindow; 69 pcEncomspParticipantCreated ParticipantCreated; 70 pcEncomspParticipantRemoved ParticipantRemoved; 71 pcEncomspChangeParticipantControlLevel ChangeParticipantControlLevel; 72 pcEncomspGraphicsStreamPaused GraphicsStreamPaused; 73 pcEncomspGraphicsStreamResumed GraphicsStreamResumed; 74}; 75 76#endif /* FREERDP_CHANNEL_ENCOMSP_CLIENT_ENCOMSP_H */