author | skyhusker <skyhusker> | 2005-02-02 13:34:34 (UTC) |
---|---|---|
committer | skyhusker <skyhusker> | 2005-02-02 13:34:34 (UTC) |
commit | f1f48d6711b359499c7ab3b9102a25f21259df53 (patch) (unidiff) | |
tree | a191b3603a89e0eb874b200df97f95977021673f | |
parent | 9c9c35ab1c0366b69ba1be63a4b7ba7b847fb66a (diff) | |
download | opie-f1f48d6711b359499c7ab3b9102a25f21259df53.zip opie-f1f48d6711b359499c7ab3b9102a25f21259df53.tar.gz opie-f1f48d6711b359499c7ab3b9102a25f21259df53.tar.bz2 |
Added copyright lines
-rw-r--r-- | noncore/net/opieirc/ircchannelperson.cpp | 21 | ||||
-rw-r--r-- | noncore/net/opieirc/ircchannelperson.h | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircchannelperson.cpp b/noncore/net/opieirc/ircchannelperson.cpp index 1e8ebe4..5e122c1 100644 --- a/noncore/net/opieirc/ircchannelperson.cpp +++ b/noncore/net/opieirc/ircchannelperson.cpp | |||
@@ -1,16 +1,37 @@ | |||
1 | /* | ||
2 | This file is part of OpieIRC - An embedded IRC client | ||
3 | Copyright (C) 2005 Alberto 'Skyhusker' García Hierro | ||
4 | <skyhusker@handhelds.org> | ||
5 | |||
6 | This program is free software; you can redistribute it and/or modify | ||
7 | it under the terms of the GNU General Public License as published by | ||
8 | the Free Software Foundation; either version 2 of the License, or | ||
9 | (at your option) any later version. | ||
10 | |||
11 | This program is distributed in the hope that it will be useful, | ||
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | GNU General Public License for more details. | ||
15 | |||
16 | You should have received a copy of the GNU General Public License | ||
17 | along with this program; if not, write to the Free Software | ||
18 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
19 | |||
20 | */ | ||
21 | |||
1 | #include "ircperson.h" | 22 | #include "ircperson.h" |
2 | #include "ircchannelperson.h" | 23 | #include "ircchannelperson.h" |
3 | 24 | ||
4 | #include <qstring.h> | 25 | #include <qstring.h> |
5 | #include <qobject.h> | 26 | #include <qobject.h> |
6 | 27 | ||
7 | IRCChannelPerson::IRCChannelPerson(IRCPerson *person) | 28 | IRCChannelPerson::IRCChannelPerson(IRCPerson *person) |
8 | { | 29 | { |
9 | m_person = person; | 30 | m_person = person; |
10 | m_flags = 0; | 31 | m_flags = 0; |
11 | } | 32 | } |
12 | 33 | ||
13 | IRCChannelPerson::~IRCChannelPerson() | 34 | IRCChannelPerson::~IRCChannelPerson() |
14 | { | 35 | { |
15 | //if(m_person) | 36 | //if(m_person) |
16 | // delete m_person; | 37 | // delete m_person; |
diff --git a/noncore/net/opieirc/ircchannelperson.h b/noncore/net/opieirc/ircchannelperson.h index a8c4791..e212cc8 100644 --- a/noncore/net/opieirc/ircchannelperson.h +++ b/noncore/net/opieirc/ircchannelperson.h | |||
@@ -1,16 +1,37 @@ | |||
1 | /* | ||
2 | This file is part of OpieIRC - An embedded IRC client | ||
3 | Copyright (C) 2005 Alberto 'Skyhusker' García Hierro | ||
4 | <skyhusker@handhelds.org> | ||
5 | |||
6 | This program is free software; you can redistribute it and/or modify | ||
7 | it under the terms of the GNU General Public License as published by | ||
8 | the Free Software Foundation; either version 2 of the License, or | ||
9 | (at your option) any later version. | ||
10 | |||
11 | This program is distributed in the hope that it will be useful, | ||
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | GNU General Public License for more details. | ||
15 | |||
16 | You should have received a copy of the GNU General Public License | ||
17 | along with this program; if not, write to the Free Software | ||
18 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
19 | |||
20 | */ | ||
21 | |||
1 | #ifndef IRCCHANNELPERSON_H | 22 | #ifndef IRCCHANNELPERSON_H |
2 | #define IRCCHANNELPERSON_H | 23 | #define IRCCHANNELPERSON_H |
3 | 24 | ||
4 | class QString; | 25 | class QString; |
5 | class IRCPerson; | 26 | class IRCPerson; |
6 | 27 | ||
7 | /* This class encapsulates a IRCPerson and adds | 28 | /* This class encapsulates a IRCPerson and adds |
8 | * channel specific information */ | 29 | * channel specific information */ |
9 | class IRCChannelPerson { | 30 | class IRCChannelPerson { |
10 | 31 | ||
11 | public: | 32 | public: |
12 | /* Flags which a person can have inside a channel */ | 33 | /* Flags which a person can have inside a channel */ |
13 | enum IRCChannelPersonFlag { | 34 | enum IRCChannelPersonFlag { |
14 | PERSON_FLAG_OP = 0x01, | 35 | PERSON_FLAG_OP = 0x01, |
15 | PERSON_FLAG_VOICE = 0x02, | 36 | PERSON_FLAG_VOICE = 0x02, |
16 | PERSON_FLAG_HALFOP = 0x04 | 37 | PERSON_FLAG_HALFOP = 0x04 |