mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
34 lines
892 B
C++
34 lines
892 B
C++
// Copyright The Mumble Developers. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license
|
|
// that can be found in the LICENSE file at the root of the
|
|
// Mumble source tree or at <https://www.mumble.info/LICENSE>.
|
|
|
|
#ifndef MUMBLE_DATABASE_MYSQLCONNECTIONPARAMETER_H_
|
|
#define MUMBLE_DATABASE_MYSQLCONNECTIONPARAMETER_H_
|
|
|
|
#include "database/Backend.h"
|
|
#include "database/ConnectionParameter.h"
|
|
|
|
#include <string>
|
|
|
|
namespace mumble {
|
|
namespace db {
|
|
|
|
class MySQLConnectionParameter : public ConnectionParameter {
|
|
public:
|
|
MySQLConnectionParameter(const std::string &dbName);
|
|
|
|
std::string dbName;
|
|
std::string userName = "";
|
|
std::string password = "";
|
|
std::string host = "";
|
|
std::string port = "";
|
|
|
|
virtual Backend applicability() const override;
|
|
};
|
|
|
|
} // namespace db
|
|
} // namespace mumble
|
|
|
|
#endif // MUMBLE_DATABASE_MYSQLCONNECTIONPARAMETER_H_
|