Show all projects | Show more projects in the category Other

XfireChatlogViewer

This project was created by Simon Karman. Published on Friday 22 March 2013. This project was viewed 816 times.
An chatlog viewer for Xfire with easy access to all your contacts and your conversations.

xfire_chatlogviewer

I created an XfireChatlogViewer using Windows.Forms in .NET 4.

On startup the XfireChatlogViewer will load your chat logs from Xfire and it tries to convert them to an easy understandable user interface. As shown below:

xfire_chatlogviewer

Please note that only DUTCH chat logs can be converted so that this program only works for the dutch Xfire chat log format.


Seperating GUI and data
Programming this program I focused on separating the GUI from the actual data a lot since this was something I wanted to get more experienced with. This was also the main reason for creating this application.
Since loading the data doesn't involve any form interaction whatsoever the program can easily preform this task in a different thread than the forms thread. This way the application won't freeze up-on loading the conversations.

Easy to use Chatlog classes
The second point I focused on was that I wanted to create an easy to use class library that stores all the classes.
I used the following class setup:
ChatlogHistory (one ChatlogHistory object will contain all the chatlog data for one xfire-user)
- List<ChatLog>

ChatLog (one ChatLog object contains all the conversations between the xfire-user and one contact)
- string username
- List<Conversation>

Conversation (one Conversation object contains the begin time, end time and all the messages between the xfire-user and one contact in that conversation)
- string nickname
- string nicknameFriend
- DateTime started
- DateTime ended
- List<Message>

Message (one Message object contains the time and the text that was send in that message)
- DateTime time
- string text
You can download this project here: Download XfireChatlogViewer