This is a simple class that provides the functionality to write the contents of a BMessage into a textfile. This is great if you want an easy way for users to modify settings for your application (and even for debugging purposes by logging the BMessages some part of your app receives).
Full source included, read TextMessage.hh for instructions on usage.
Note! This file has only been compiled under R4/PPC, and we have probably
missed some picky bits that egcs will complain about - but the code is extremely
simple so you should have no trouble fixing that for yourself.
As always, we really do love to hear from you (suggestions for improvements, flames, or just "Hi, I like TextMessage." Your emailaddress will not be treated confidentially.
Enjoy!!!