~n-muench/ubuntu/oneiric/open-vm-tools/open-vm-tools.fix-836277

« back to all changes in this revision

Viewing changes to lib/include/dnd.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-10-23 15:32:00 UTC
  • mfrom: (1.1.2 upstream) (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20081023153200-gc1bfx89hj35c799
Tags: 2008.10.10-123053-2
* Correcting typo in dh_installinit call.
* Downgrading depends on module-assistant to recommends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
/* The maximum number of arguments we can hold */
55
55
#define DNDMSG_MAX_ARGS 64
56
56
 
 
57
/* Linux only defines. Should be in separate dndLinux.h */
57
58
/* Strings used for formatting various types of data */
58
59
#define DND_URI_LIST_PRE     "file://"
59
60
#define DND_URI_LIST_PRE_KDE "file:"
65
66
#define FCP_GNOME_LIST_PRE   "file://"
66
67
#define FCP_GNOME_LIST_POST  "\n"
67
68
 
 
69
/* FCP target used in gnome. */
 
70
#define FCP_TARGET_NAME_GNOME_COPIED_FILES   "x-special/gnome-copied-files"
 
71
#define FCP_TARGET_INFO_GNOME_COPIED_FILES   0
 
72
/* FCP target used in KDE. */
 
73
#define FCP_TARGET_NAME_URI_LIST             "text/uri-list"
 
74
#define FCP_TARGET_INFO_URI_LIST             1
 
75
/* Number of FCP targets. */
 
76
#define NR_FCP_TARGETS                       2
 
77
 
 
78
#define FCP_COPY_DELAY                       1000000  // 1 second
 
79
#define TARGET_NAME_TIMESTAMP                "TIMESTAMP"
 
80
 
 
81
#define DRAG_TARGET_NAME_URI_LIST  "text/uri-list"
 
82
#define DRAG_LEAVE_TIMEOUT         500
 
83
 
68
84
/* Guest detection window width and height. */
69
85
#define DRAG_DET_WINDOW_WIDTH 15
70
86
 
74
90
   CPFORMAT_TEXT,       /* NUL terminated UTF-8. */
75
91
   CPFORMAT_FILELIST,
76
92
   CPFORMAT_RTF,
 
93
   CPFORMAT_FILELIST_URI,
77
94
   CPFORMAT_MAX,
78
95
} DND_CPFORMAT;
79
96