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 *************************************************************************
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. *
14 *************************************************************************
17 #ifndef OSCARMYSELFCONTACT_H
18 #define OSCARMYSELFCONTACT_H
20 #include "kopetecontact.h"
21 #include "userdetails.h"
22 #include "kopete_export.h"
32 * myself() contact for oscar protocol
33 * @author Richard Smith
35 class OSCAR_EXPORT OscarMyselfContact
: public Kopete::Contact
40 OscarMyselfContact( OscarAccount
* account
);
41 virtual ~OscarMyselfContact();
43 virtual bool isReachable();
44 virtual Kopete::ChatSession
*manager( CanCreateFlags canCreate
);
46 UserDetails
details();
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();
57 //kate: tab-width 4; indent-mode csands;