On Sat, Jan 31, 2009 at 05:04:08PM -0500, Josh Kropf wrote: > Here is a patch that implements "eventlog" and "cleareventlog" commands. > > One thing: I put enum definitions in a class called JLEventlogEntry... > is there another more appropriate place for these?
Thanks for this patch Josh! Applied. This inspired a tree-wide cleanup of various record classes on my part, which was kinda overdue. As you can see by the cleanup changes, I separate the enums in record classes with the constants used on the protocol side. So far, we've used the same values that the Blackberry uses, but there's no guarantee that will remain the case, and I want the API to be stable, even if the Blackberry changes. So I changed the code so all such constant conversions are done through a function call. It's a little verbose, I know. I couldn't think of a better way to do it. Fortunately it's all hidden away inside the library, and programmers shouldn't have to worry about it. - Chris ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Barry-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/barry-devel
