~ubuntu-branches/ubuntu/vivid/freerdp/vivid

« back to all changes in this revision

Viewing changes to include/freerdp/rail/rail.h

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2014-11-11 12:20:50 UTC
  • mfrom: (1.1.9) (9.1.17 sid)
  • Revision ID: package-import@ubuntu.com-20141111122050-wyr8hrnwco9fcmum
Tags: 1.1.0~git20140921.1.440916e+dfsg1-2ubuntu1
* Merge with Debian unstable, remaining changes
  - Disable ffmpeg support
* Disable gstreamer support, this relies on gstreamer 0.10 and we don't want
  to add any more deps on that.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * FreeRDP: A Remote Desktop Protocol Client
 
2
 * FreeRDP: A Remote Desktop Protocol Implementation
3
3
 * Remote Applications Integrated Locally (RAIL)
4
4
 *
5
5
 * Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
17
17
 * limitations under the License.
18
18
 */
19
19
 
20
 
#ifndef __RAIL_H
21
 
#define __RAIL_H
 
20
#ifndef FREERDP_RAIL_H
 
21
#define FREERDP_RAIL_H
22
22
 
23
23
#include <freerdp/api.h>
24
24
#include <freerdp/rail.h>
25
25
#include <freerdp/types.h>
26
26
#include <freerdp/update.h>
27
27
#include <freerdp/freerdp.h>
28
 
#include <freerdp/utils/stream.h>
29
28
#include <freerdp/codec/color.h>
30
29
 
 
30
#include <winpr/stream.h>
 
31
 
31
32
#include <freerdp/rail/icon.h>
32
33
#include <freerdp/rail/window.h>
33
34
#include <freerdp/rail/window_list.h>
35
36
typedef void (*railCreateWindow)(rdpRail* rail, rdpWindow* window);
36
37
typedef void (*railDestroyWindow)(rdpRail* rail, rdpWindow* window);
37
38
typedef void (*railMoveWindow)(rdpRail* rail, rdpWindow* window);
38
 
typedef void (*railShowWindow)(rdpRail* rail, rdpWindow* window, uint8 state);
 
39
typedef void (*railShowWindow)(rdpRail* rail, rdpWindow* window, BYTE state);
39
40
typedef void (*railSetWindowText)(rdpRail* rail, rdpWindow* window);
40
41
typedef void (*railSetWindowIcon)(rdpRail* rail, rdpWindow* window, rdpIcon* icon);
41
42
typedef void (*railSetWindowRects)(rdpRail* rail, rdpWindow* window);
42
43
typedef void (*railSetWindowVisibilityRects)(rdpRail* rail, rdpWindow* window);
 
44
typedef void (*railDesktopNonMonitored) (rdpRail* rail, rdpWindow* window);
43
45
 
44
46
struct rdp_rail
45
47
{
46
48
        void* extra;
47
 
        UNICONV* uniconv;
48
49
        CLRCONV* clrconv;
49
50
        rdpIconCache* cache;
50
51
        rdpWindowList* list;
57
58
        railSetWindowIcon rail_SetWindowIcon;
58
59
        railSetWindowRects rail_SetWindowRects;
59
60
        railSetWindowVisibilityRects rail_SetWindowVisibilityRects;
 
61
        railDesktopNonMonitored rail_DesktopNonMonitored;
60
62
};
61
63
 
62
64
FREERDP_API void rail_register_update_callbacks(rdpRail* rail, rdpUpdate* update);
64
66
FREERDP_API rdpRail* rail_new(rdpSettings* settings);
65
67
FREERDP_API void rail_free(rdpRail* rail);
66
68
 
67
 
#endif /* __RAIL_H */
 
69
#endif /* FREERDP_RAIL_H */