As every week this summer, I spent the Saturday outside the city. This time I took fifty new photos. I'll put some of them here in a future.
libmu_cpp hacking
I added overloaded []
operator
to Mailbox
and Header
. This small hack
allows to replace the code like this:
Message msg = mbox.GetMessage (1); Header hdr = msg.GetHeader (); cout << hdr.GetValue ("From") << " " << hdr.GetValue ("Subject") << endl;with this:
Message msg = mbox[1]; Header hdr = msg.GetHeader (); cout << hdr["From"] << " " << hdr["Subject"] << endl;
I think it's quite nice :). I will also use this scheme in other parts of the library.
blogRight!
Sergey hacked the code for generating the calendar. Good work, man! I just adjusted it to generate the layout I use here.