Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class SomeClientClass
- {
- ....
- void logout(int serviceType)
- {
- switch(serviceType)
- {
- case YAHOO:
- {
- ChatManager.logoutYahoo();
- break;
- }
- case MSN:
- {
- ChatManager.logoutMsn();
- break;
- }
- case GTALK:
- {
- ChatManager.logoutGtalk();
- break;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement