2 * FreeRDP: A Remote Desktop Protocol Client
5 * Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
25 #include <freerdp/freerdp.h>
26 #include <freerdp/chanman.h>
28 #define SET_XFI(_instance, _xfi) (_instance)->param1 = _xfi
29 #define GET_XFI(_instance) ((xfInfo*) ((_instance)->param1))
31 #define SET_CHANMAN(_instance, _chanman) (_instance)->param2 = _chanman
32 #define GET_CHANMAN(_instance) ((rdpChanMan*) ((_instance)->param2))
64 boolean fullscreen_toggle;
65 uint32 keyboard_layout_id;
66 boolean pressed_keys[256];
67 XModifierKeymap* modifier_map;
69 typedef struct xf_info xfInfo;
71 void xf_toggle_fullscreen(xfInfo* xfi);
73 #endif /* __XFREERDP_H */