RE: [bme-develop] New network code working
Status: Planning
Brought to you by:
sirmik
|
From: Sir M. <obe...@ho...> - 2004-04-13 08:45:46
|
Good Morning :D, >- To simplify access to these arguments I created another class to >access the token list, StringList, this class saves us the constant >casting of BString pointers, also has the [] operator to access the >strings and a static method to delete all strings in a list. Nice! You also could have changed the code to using a vector<BString>...although I know the iterator stuff isn't too nice to work with...therefore I mostly use the BList object...anyway, I'm curious to see how you implemented it... >- Added a destructor to StringTokenizer to delete its list object (just >the object, not its contents). >- Changed getTokens() to return a copy of the list, since the new >destructor will delete the list object. > Ah ok...I sometimes find the deleting of objects a little awkward...*sigh* wish we had a garbage collector ;) >Tim, the only class affected by the changes in StringTokenizer is >IconLoader, and is only in the (BString*) casting, so I took the >liberty of making the changes, I hope you don't mind. > Nope, not at all :D...I have begun by testing my code by building it into the contact list...(just testing, the code is kinda dirty now :D)...no success thus far, I have some problems with it, but will have a look at it this evening...I will also add some code to the Icon classes, and then I suggest that I will move on to improving the contact list, if you don't mind... I want to include groups, leave away people that you deleted, and most importantly: cache the list, to speed up things... >So far works fine, but needs more intensive testing. This should be in >the CVS by the time you read this, the code for MsnBuffer is in the >MsnServerHandler.cpp/h files. >Let me know what you think. > All sounds great! I think we've already come far into improving BeMSN!!! Btw, I'm thinking of setting up a small tutorial on downloading our sources and compiling them, for betatesters, on our page! what do you think? regards, Tim _________________________________________________________________ Talk with your online friends with MSN Messenger http://messenger.msn.nl/ |