mirror of https://github.com/kiwix/libkiwix.git
Use camelCase.
This commit is contained in:
parent
635d4438e5
commit
cd050ddcc8
|
@ -50,12 +50,12 @@ namespace kiwix
|
||||||
*/
|
*/
|
||||||
void stop();
|
void stop();
|
||||||
|
|
||||||
void set_root(const std::string& root);
|
void setRoot(const std::string& root);
|
||||||
void set_addr(const std::string& addr) { m_addr = addr; }
|
void setAddress(const std::string& addr) { m_addr = addr; }
|
||||||
void set_port(int port) { m_port = port; }
|
void setPort(int port) { m_port = port; }
|
||||||
void set_nbThreads(int threads) { m_nbThreads = threads; }
|
void setNbThreads(int threads) { m_nbThreads = threads; }
|
||||||
void set_verbose(bool verbose) { m_verbose = verbose; }
|
void setVerbose(bool verbose) { m_verbose = verbose; }
|
||||||
void set_taskbar(bool withTaskbar, bool withLibraryButton)
|
void setTaskbar(bool withTaskbar, bool withLibraryButton)
|
||||||
{ m_withTaskbar = withTaskbar; m_withLibraryButton = withLibraryButton; }
|
{ m_withTaskbar = withTaskbar; m_withLibraryButton = withLibraryButton; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
|
@ -165,7 +165,7 @@ void Server::stop() {
|
||||||
mp_server.reset(nullptr);
|
mp_server.reset(nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Server::set_root(const std::string& root)
|
void Server::setRoot(const std::string& root)
|
||||||
{
|
{
|
||||||
m_root = root;
|
m_root = root;
|
||||||
if (m_root[0] != '/') {
|
if (m_root[0] != '/') {
|
||||||
|
|
Loading…
Reference in New Issue