Changeset 51556 in vbox for trunk/src/VBox/Additions/x11/VBoxClient
- Timestamp:
- Jun 5, 2014 2:38:31 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/draganddrop.cpp
r51529 r51556 431 431 * event. */ 432 432 RTSEMEVENT m_hEventSem; 433 434 static const RTCList<RTCString> m_sstrStringMimeTypes;433 /** List of allowed formats. */ 434 RTCList<RTCString> m_lstAllowedFormats; 435 435 }; 436 436 … … 569 569 m_eventQueue.clear(); 570 570 } 571 572 /** @todo Move this into VBox/GuestHost ? */573 const RTCList<RTCString> DragInstance::m_sstrStringMimeTypes = RTCList<RTCString>()574 /* Uri's */575 << "text/uri-list"576 /* Text */577 << "text/plain;charset=utf-8"578 << "UTF8_STRING"579 << "text/plain"580 << "TEXT"581 << "STRING"582 /* OpenOffice formates */583 << "application/x-openoffice-embed-source-xml;windows_formatname=\"Star Embed Source (XML)\""584 << "application/x-openoffice-drawing;windows_formatname=\"Drawing Format\"";585 571 586 572 int DragInstance::init(uint32_t u32ScreenId) … … 1599 1585 * zero terminated. Check that and correct it when necessary, 1600 1586 * because the guest side wants this in any case. */ 1601 if ( m_ sstrStringMimeTypes.contains(strFormat)1587 if ( m_lstAllowedFormats.contains(strFormat) 1602 1588 && pcData[cbData - 1] != '\0') 1603 1589 {
Note:
See TracChangeset
for help on using the changeset viewer.