MCPcopy Create free account
hub / github.com/cuberite/cuberite / GetTabNames

Method GetTabNames

src/Bindings/WebPlugin.cpp:45–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43
44
45std::list<std::pair<AString, AString> > cWebPlugin::GetTabNames(void)
46{
47 std::list< std::pair< AString, AString > > NameList;
48 for( TabList::iterator itr = GetTabs().begin(); itr != GetTabs().end(); ++itr )
49 {
50 std::pair< AString, AString > StringPair;
51 StringPair.first = (*itr)->Title;
52 StringPair.second = (*itr)->SafeTitle;
53 NameList.push_back( StringPair );
54 }
55 return NameList;
56}
57
58
59

Callers 2

HandleWebadminRequestMethod · 0.80

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected