[litwindow-users] ADAPTER function declarations
Status: Alpha
Brought to you by:
hajokirchhoff
From: Joel S. <joe...@ym...> - 2005-04-18 08:50:33
|
(Hmmm, second try. I accidentally sent this to mailinglists account at first.) Thanks for the explanation. Rather than direct member access, I see that functional access is possible if declared in the ADAPTER. Actually you alluded to this in your RULE explanation. I've been using the get/set function declarations: PROP_GetSet(type, name) PROP_getset(type, name) PROP_get_set_(type, name) In a RULE, the function is referred to as 'name' and I guess that the l-value or r-value determines whether the framework calls the get or set function. This seems to work well. For case where the names don't start with a get/set, the read and write functions can be manually entered using PROP_RW_FUNC. I notice that PROP_R_FUNC is commented out, which also breaks PROP_Get. I also have had problems getting PROP_Set or PROP_W_FUNC to compile without errors. What are the plans with these? Are there any other PROP_* macros that are used in user ADAPTER declarations? Thanks, Joel --- [This E-mail scanned for viruses by Declude Virus] |