Mercurial > projects > mde
comparison mde/content/AStringContent.d @ 175:1cbde9807293
Compile/link-time fixes for ldc & non-debug builds.
Moved WidgetManager to widget/
Reverted IChildWidget to an interface, not an abstract class.
Introduced a work-around for a compiler problem. May not cover all cases.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Fri, 11 Sep 2009 20:56:53 +0200 |
parents | e45226d3deae |
children |
comparison
equal
deleted
inserted
replaced
174:3d58adc17d20 | 175:1cbde9807293 |
---|---|
182 /** Call after editing a string. | 182 /** Call after editing a string. |
183 * | 183 * |
184 * Returns: true if string successfully converted to value. | 184 * Returns: true if string successfully converted to value. |
185 * | 185 * |
186 * Should never throw; should reset sv at least when returning false. */ | 186 * Should never throw; should reset sv at least when returning false. */ |
187 bool endEdit (); | 187 abstract bool endEdit (); |
188 | 188 |
189 protected: | 189 protected: |
190 //TODO: copy-on-assign, copy-on-edit, or what? | 190 //TODO: copy-on-assign, copy-on-edit, or what? |
191 /* String version of value (for toString(0) and editing). | 191 /* String version of value (for toString(0) and editing). |
192 * WARNING: This must point to mutable memory (for endEdit), and | 192 * WARNING: This must point to mutable memory (for endEdit), and |