forked from Silverfish/proton-bridge
Other: C++ code cleanup
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user