Mercurial > projects > mde
comparison mde/content/IContent.d @ 162:2476790223b8
First drag and drop support: can drag from AStringContentWidget to any content editable. No visual feedback while dragging.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Fri, 22 May 2009 19:59:22 +0200 |
parents | 9f035cd139c6 |
children | 24d77c52243f |
comparison
equal
deleted
inserted
replaced
161:e3fe6acc16fb | 162:2476790223b8 |
---|---|
38 * $(TR $(TD 1) $(TD Translated name or null)) | 38 * $(TR $(TD 1) $(TD Translated name or null)) |
39 * $(TR $(TD 2) $(TD Translated description or null)) | 39 * $(TR $(TD 2) $(TD Translated description or null)) |
40 * $(TR $(TD other) $(TD null)) | 40 * $(TR $(TD other) $(TD null)) |
41 * ) */ | 41 * ) */ |
42 char[] toString (uint i); | 42 char[] toString (uint i); |
43 | |
44 /** Generic way to set content value. | |
45 * | |
46 * If cont's type is compatible, the method should set its instance's | |
47 * value to that of cont and return true, otherwise it should return false. | |
48 */ | |
49 bool setContent (IContent); | |
43 } | 50 } |
44 | 51 |