summaryrefslogtreecommitdiff
path: root/src/resources/buddylist.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-16 15:50:42 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-05-16 15:50:42 +0000
commit57b3e0e1f0b835ff2982e9f66c7af402caecd3c1 (patch)
treed47849491f941ae2074840d2f44fd8fc1148af5d /src/resources/buddylist.h
parent960257dd1744a7c735f9ece50eaef79c96c895a9 (diff)
downloadmana-57b3e0e1f0b835ff2982e9f66c7af402caecd3c1.tar.gz
mana-57b3e0e1f0b835ff2982e9f66c7af402caecd3c1.tar.bz2
mana-57b3e0e1f0b835ff2982e9f66c7af402caecd3c1.tar.xz
mana-57b3e0e1f0b835ff2982e9f66c7af402caecd3c1.zip
Formatting updates to buddy window and menu item and made testing menu item
visible.
Diffstat (limited to 'src/resources/buddylist.h')
-rw-r--r--src/resources/buddylist.h64
1 files changed, 32 insertions, 32 deletions
diff --git a/src/resources/buddylist.h b/src/resources/buddylist.h
index 704ce450..d0598747 100644
--- a/src/resources/buddylist.h
+++ b/src/resources/buddylist.h
@@ -18,6 +18,7 @@
* along with The Mana World; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
+ * $Id$
*/
#ifndef _TMW_BUDDYLIST_H
@@ -28,41 +29,40 @@
#include <string>
class BuddyList : public gcn::ListModel {
- public:
- /**
- * Constructor
- */
- BuddyList();
+ public:
+ /**
+ * Constructor
+ */
+ BuddyList();
- /**
- * Destructor
- */
- virtual ~BuddyList();
-
- /**
- * Adds buddy to the list
- */
- bool addBuddy(const std::string buddy);
+ /**
+ * Destructor
+ */
+ virtual ~BuddyList();
- /**
- * Removes buddy from the list
- */
- bool removeBuddy(const std::string buddy);
-
- /**
- * Returns the number of buddy on the list
- */
- int getNumberOfElements(void);
-
- /**
- * Returns the buddy of the number or null
- */
- std::string getElementAt(int number);
+ /**
+ * Adds buddy to the list
+ */
+ bool addBuddy(const std::string buddy);
- private:
- std::list<std::string> buddylist; /**< Buddy list */
- std::list<std::string>::iterator buddyit; /**< Iterator */
+ /**
+ * Removes buddy from the list
+ */
+ bool removeBuddy(const std::string buddy);
+
+ /**
+ * Returns the number of buddy on the list
+ */
+ int getNumberOfElements(void);
+
+ /**
+ * Returns the buddy of the number or null
+ */
+ std::string getElementAt(int number);
+
+ private:
+ std::list<std::string> buddylist; /**< Buddy list */
+ std::list<std::string>::iterator buddyit; /**< Iterator */
};
#endif /* _TMW_BUDDYLIST_H */
-