#include "gFriends.h"#include "uMenu.h"#include <memory>

Go to the source code of this file.
Functions | |
| bool | getFriendsEnabled () |
| void | FriendsToggle () |
| tString * | getFriends () |
Variables | |
| static bool | sg_enableFriends = false |
| static tConfItem< bool > | sg_enableFriendsConf ("ENABLE_FRIENDS", sg_enableFriends) |
| static gFriends | sg_friends |
| void FriendsToggle | ( | ) |
Definition at line 70 of file gFriends.cpp.
References sg_enableFriends.
Referenced by gServerMenu::HandleEvent().
00071 { 00072 if (sg_enableFriends) 00073 sg_enableFriends = false; 00074 else 00075 sg_enableFriends = true; 00076 }

| tString* getFriends | ( | ) |
Definition at line 78 of file gFriends.cpp.
References gFriends::friends.
Referenced by gServerMenu::Update().
00079 { 00080 return sg_friends.friends; 00081 }

| bool getFriendsEnabled | ( | ) |
Definition at line 65 of file gFriends.cpp.
References sg_enableFriends.
Referenced by gBrowserMenuItem::RenderBackground(), and gServerMenu::Update().
00066 { 00067 return sg_enableFriends; 00068 }

bool sg_enableFriends = false [static] |
Definition at line 32 of file gFriends.cpp.
Referenced by gFriends::FriendsMenu(), FriendsToggle(), and getFriendsEnabled().
tConfItem< bool > sg_enableFriendsConf("ENABLE_FRIENDS", sg_enableFriends) [static] |
gFriends sg_friends [static] |
Definition at line 35 of file gFriends.cpp.
1.5.4