summaryrefslogtreecommitdiff
path: root/src/gui/socialwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-24 18:29:30 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-24 18:30:16 +0300
commita316d537dce50f4b4e1e10f5c26a7851baddbd8b (patch)
tree078de355216db6dab67df9575402cdba7d537dbd /src/gui/socialwindow.cpp
parentcb00b6fe126afe5fff8fc7ff491fda6003ea68f2 (diff)
downloadplus-a316d537dce50f4b4e1e10f5c26a7851baddbd8b.tar.gz
plus-a316d537dce50f4b4e1e10f5c26a7851baddbd8b.tar.bz2
plus-a316d537dce50f4b4e1e10f5c26a7851baddbd8b.tar.xz
plus-a316d537dce50f4b4e1e10f5c26a7851baddbd8b.zip
Small style changes.
Also fix overloaded methods visibility.
Diffstat (limited to 'src/gui/socialwindow.cpp')
-rw-r--r--src/gui/socialwindow.cpp27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index 2c4f1316d..0f32f34a8 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -81,6 +81,20 @@ class SortFriendsFunctor
class SocialTab : public Tab
{
+public:
+ virtual void invite() = 0;
+
+ virtual void leave() = 0;
+
+ virtual void updateList() = 0;
+
+ virtual void updateAvatar(std::string name) = 0;
+
+ virtual void resetDamage(std::string name) = 0;
+
+ virtual void selectIndex(unsigned num A_UNUSED)
+ { }
+
protected:
friend class SocialWindow;
@@ -109,19 +123,6 @@ protected:
}
}
- virtual void invite() = 0;
-
- virtual void leave() = 0;
-
- virtual void updateList() = 0;
-
- virtual void updateAvatar(std::string name) = 0;
-
- virtual void resetDamage(std::string name) = 0;
-
- virtual void selectIndex(unsigned num A_UNUSED)
- { }
-
TextDialog *mInviteDialog;
ConfirmDialog *mConfirmDialog;
ScrollArea *mScroll;