Port things from MSN to WLM plugin:
[kdenetwork.git] / kopete / protocols / oscar / oscarmyselfcontact.h
blobfbeae084efc8f55577d3e9d40f6496b7b3ed8c76
1 /*
2 oscarmyselfcontact.h - Oscar Protocol Plugin Myself Contact
4 Copyright (c) 2004 by Richard Smith <kde@metafoo.co.uk>
5 Kopete (c) 2002-2004 by the Kopete developers <kopete-devel@kde.org>
7 *************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 *************************************************************************
17 #ifndef OSCARMYSELFCONTACT_H
18 #define OSCARMYSELFCONTACT_H
20 #include "kopetecontact.h"
21 #include "userdetails.h"
22 #include "kopete_export.h"
24 namespace Kopete
26 class ChatSession;
29 class OscarAccount;
31 /**
32 * myself() contact for oscar protocol
33 * @author Richard Smith
35 class OSCAR_EXPORT OscarMyselfContact : public Kopete::Contact
37 Q_OBJECT
39 public:
40 OscarMyselfContact( OscarAccount* account );
41 virtual ~OscarMyselfContact();
43 virtual bool isReachable();
44 virtual Kopete::ChatSession *manager( CanCreateFlags canCreate );
46 UserDetails details();
48 public slots:
49 /** our user info has been updated */
50 virtual void userInfoUpdated() = 0;
52 /** I'm sorry Dave, I can't let you do that... */
53 virtual void deleteContact();
56 #endif
57 //kate: tab-width 4; indent-mode csands;