[project @ 2005-06-30 02:51:27 by unknown_lamer]
[clinton/bobotpp.git] / source / Person.H
1 // Person.H -*- C++ -*-
2 // Copyright (c) 1998 Etienne BERNARD
3
4 // This program is free software; you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation; either version 2 of the License, or
7 // any later version.
8
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13
14 // You should have received a copy of the GNU General Public License
15 // along with this program; if not, write to the Free Software
16 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 // 02110-1301, USA.
18
19 #ifndef PERSON_H
20 #define PERSON_H
21
22 #include "String.H"
23
24 class Bot;
25
26 class Person {
27 protected:
28 Bot *bot;
29 String address;
30 public:
31 Person(Bot *, String = "");
32 Person(Person &);
33
34 virtual ~Person() { }
35
36 virtual Person * copy();
37
38 String getNick() const;
39 String getAddress() const;
40
41 virtual void keepAlive() { }
42
43 virtual void sendNotice(String);
44
45 Person & operator=(const String &);
46 };
47
48 #endif