]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/ole/dataobj2.h
added carbonaccessors.o
[wxWidgets.git] / include / wx / msw / ole / dataobj2.h
index af68898d3cd2d26d8f647ba7d31c771a4f2f69de..7fdfa70f97b75c8ef14ba1ec0131c61432e8ee5c 100644 (file)
@@ -78,4 +78,26 @@ public:
     virtual void AddFile(const wxString& file);
 };
 
+// ----------------------------------------------------------------------------
+// wxURLDataObject: data object for URLs
+// ----------------------------------------------------------------------------
+
+class WXDLLEXPORT wxURLDataObject : public wxDataObjectComposite
+{
+public:
+    wxURLDataObject();
+
+    // return the URL as string
+    wxString GetURL() const;
+
+    // override to set m_textFormat
+    virtual bool SetData(const wxDataFormat& format,
+                         size_t len,
+                         const void *buf);
+
+private:
+    // last data object we got data in
+    wxDataObjectSimple *m_dataObjectLast;
+};
+
 #endif // _WX_MSW_OLE_DATAOBJ2_H