Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Public Attributes | List of all members
cWebAdmin::cWebTab Class Reference

Container for a single web tab. More...

#include <WebAdmin.h>

Public Member Functions

 cWebTab (const AString &a_Title, const AString &a_UrlPath, const AString &a_PluginName, std::shared_ptr< cWebTabCallback > a_Callback)
 

Public Attributes

std::shared_ptr< cWebTabCallback > m_Callback
 
AString m_PluginName
 
AString m_Title
 
AString m_UrlPath
 

Detailed Description

Container for a single web tab.

Each web tab has a title, URL path and an associated plugin's name. Each web tab is registered with a callback to provide the content.

Definition at line 131 of file WebAdmin.h.

Constructor & Destructor Documentation

◆ cWebTab()

cWebAdmin::cWebTab::cWebTab ( const AString a_Title,
const AString a_UrlPath,
const AString a_PluginName,
std::shared_ptr< cWebTabCallback >  a_Callback 
)
inline

Definition at line 139 of file WebAdmin.h.

Member Data Documentation

◆ m_Callback

std::shared_ptr<cWebTabCallback> cWebAdmin::cWebTab::m_Callback

Definition at line 137 of file WebAdmin.h.

◆ m_PluginName

AString cWebAdmin::cWebTab::m_PluginName

Definition at line 136 of file WebAdmin.h.

◆ m_Title

AString cWebAdmin::cWebTab::m_Title

Definition at line 134 of file WebAdmin.h.

◆ m_UrlPath

AString cWebAdmin::cWebTab::m_UrlPath

Definition at line 135 of file WebAdmin.h.


The documentation for this class was generated from the following file: