Trac is being migrated to new services! Issues can be found in our new
YouTrack instance and WIKI pages can be found on our
website.
- Timestamp:
-
Apr 15, 2007, 8:26:10 PM (17 years ago)
- Author:
-
ecoffey
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v15
|
v16
|
|
20 | 20 | } |
21 | 21 | }}} |
22 | | And base classes could be responsible for implementing _updateFromStruct(). |
| 22 | And derived classes could be responsible for implementing _updateFromStruct(). Derived classes would also have to handle creation of their specific C struct: |
| 23 | {{{ |
| 24 | public class Buddy : Object { |
| 25 | Buddy(IntPtr struct) |
| 26 | : base(struct) |
| 27 | { |
| 28 | } |
| 29 | |
| 30 | Buddy() |
| 31 | { |
| 32 | _c_structure = purple_buddy_new_glue(); |
| 33 | } |
| 34 | } |
| 35 | }}} |
23 | 36 | * Right now delegates are invoked and just given an array of their data. Would be nice if we could explicitly state what they expect, e.g. {{{ OnBuddyStatusChanged(Buddy b, Status s) }}} |
24 | 37 | |
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!