Other: C++ code cleanup

This commit is contained in:
Xavier Michelon
2022-07-25 15:50:20 +02:00
committed by Jakub
parent 055829dcf8
commit 62a589b6ad
14 changed files with 64 additions and 39 deletions

View File

@ -16,8 +16,8 @@
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
#ifndef BRIDGE_QT6_RPC_CLIENT_H
#define BRIDGE_QT6_RPC_CLIENT_H
#ifndef BRIDGE_GUI_RPC_CLIENT_H
#define BRIDGE_GUI_RPC_CLIENT_H
#include "GRPC/bridge.grpc.pb.h"
@ -218,4 +218,4 @@ private: // data members.
};
#endif // BRIDGE_QT6_RPC_CLIENT_H
#endif // BRIDGE_GUI_RPC_CLIENT_H

View File

@ -16,8 +16,8 @@
// along with Proton Mail Bridge. If not, see <https://www.gnu.org/licenses/>.
#ifndef BRIDGE_QT6_GRPCUTILS_H
#define BRIDGE_QT6_GRPCUTILS_H
#ifndef BRIDGE_GUI_GRPCUTILS_H
#define BRIDGE_GUI_GRPCUTILS_H
#include "Log.h"
@ -31,4 +31,4 @@ SPUser parsegrpcUser(grpc::User const& grpcUser); ///< Parse a gRPC user struct
grpc::LogLevel logLevelToGRPC(Log::Level level); ///< Convert a Log::Level to gRPC enum value.
#endif // BRIDGE_QT6_GRPCUTILS_H
#endif // BRIDGE_GUI_GRPCUTILS_H