Blame include/freerdp/client/encomsp.h

Packit 1fb8d4
/**
Packit 1fb8d4
 * FreeRDP: A Remote Desktop Protocol Implementation
Packit 1fb8d4
 * Multiparty Virtual Channel
Packit 1fb8d4
 *
Packit 1fb8d4
 * Copyright 2014 Marc-Andre Moreau <marcandre.moreau@gmail.com>
Packit 1fb8d4
 * Copyright 2015 Thincast Technologies GmbH
Packit 1fb8d4
 * Copyright 2015 DI (FH) Martin Haimberger <martin.haimberger@thincast.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_CHANNEL_ENCOMSP_CLIENT_ENCOMSP_H
Packit 1fb8d4
#define FREERDP_CHANNEL_ENCOMSP_CLIENT_ENCOMSP_H
Packit 1fb8d4
Packit 1fb8d4
#include <freerdp/channels/encomsp.h>
Packit 1fb8d4
Packit 1fb8d4
/**
Packit 1fb8d4
 * Client Interface
Packit 1fb8d4
 */
Packit 1fb8d4
Packit 1fb8d4
typedef struct _encomsp_client_context EncomspClientContext;
Packit 1fb8d4
Packit 1fb8d4
typedef UINT (*pcEncomspFilterUpdated)(EncomspClientContext* context, ENCOMSP_FILTER_UPDATED_PDU* filterUpdated);
Packit 1fb8d4
typedef UINT (*pcEncomspApplicationCreated)(EncomspClientContext* context, ENCOMSP_APPLICATION_CREATED_PDU* applicationCreated);
Packit 1fb8d4
typedef UINT (*pcEncomspApplicationRemoved)(EncomspClientContext* context, ENCOMSP_APPLICATION_REMOVED_PDU* applicationRemoved);
Packit 1fb8d4
typedef UINT (*pcEncomspWindowCreated)(EncomspClientContext* context, ENCOMSP_WINDOW_CREATED_PDU* windowCreated);
Packit 1fb8d4
typedef UINT (*pcEncomspWindowRemoved)(EncomspClientContext* context, ENCOMSP_WINDOW_REMOVED_PDU* windowRemoved);
Packit 1fb8d4
typedef UINT (*pcEncomspShowWindow)(EncomspClientContext* context, ENCOMSP_SHOW_WINDOW_PDU* showWindow);
Packit 1fb8d4
typedef UINT (*pcEncomspParticipantCreated)(EncomspClientContext* context, ENCOMSP_PARTICIPANT_CREATED_PDU* participantCreated);
Packit 1fb8d4
typedef UINT (*pcEncomspParticipantRemoved)(EncomspClientContext* context, ENCOMSP_PARTICIPANT_REMOVED_PDU* participantRemoved);
Packit 1fb8d4
typedef UINT (*pcEncomspChangeParticipantControlLevel)(EncomspClientContext* context, ENCOMSP_CHANGE_PARTICIPANT_CONTROL_LEVEL_PDU* changeParticipantControlLevel);
Packit 1fb8d4
typedef UINT (*pcEncomspGraphicsStreamPaused)(EncomspClientContext* context, ENCOMSP_GRAPHICS_STREAM_PAUSED_PDU* graphicsStreamPaused);
Packit 1fb8d4
typedef UINT (*pcEncomspGraphicsStreamResumed)(EncomspClientContext* context, ENCOMSP_GRAPHICS_STREAM_RESUMED_PDU* graphicsStreamResumed);
Packit 1fb8d4
Packit 1fb8d4
struct _encomsp_client_context
Packit 1fb8d4
{
Packit 1fb8d4
	void* handle;
Packit 1fb8d4
	void* custom;
Packit 1fb8d4
Packit 1fb8d4
	pcEncomspFilterUpdated FilterUpdated;
Packit 1fb8d4
	pcEncomspApplicationCreated ApplicationCreated;
Packit 1fb8d4
	pcEncomspApplicationRemoved ApplicationRemoved;
Packit 1fb8d4
	pcEncomspWindowCreated WindowCreated;
Packit 1fb8d4
	pcEncomspWindowRemoved WindowRemoved;
Packit 1fb8d4
	pcEncomspShowWindow ShowWindow;
Packit 1fb8d4
	pcEncomspParticipantCreated ParticipantCreated;
Packit 1fb8d4
	pcEncomspParticipantRemoved ParticipantRemoved;
Packit 1fb8d4
	pcEncomspChangeParticipantControlLevel ChangeParticipantControlLevel;
Packit 1fb8d4
	pcEncomspGraphicsStreamPaused GraphicsStreamPaused;
Packit 1fb8d4
	pcEncomspGraphicsStreamResumed GraphicsStreamResumed;
Packit 1fb8d4
};
Packit 1fb8d4
Packit 1fb8d4
#endif /* FREERDP_CHANNEL_ENCOMSP_CLIENT_ENCOMSP_H */