Replace all include guards by #pragma once
It’s $CURRENT_YEAR
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef BRIDGE_INCLUDED
|
||||
# define BRIDGE_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <irc/irc_message.hpp>
|
||||
#include <irc/irc_client.hpp>
|
||||
@@ -290,4 +290,4 @@ struct IRCNotConnected: public std::exception
|
||||
const std::string hostname;
|
||||
};
|
||||
|
||||
#endif // BRIDGE_INCLUDED
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef COLORS_INCLUDED
|
||||
# define COLORS_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
/**
|
||||
* A module handling the conversion between IRC colors and XHTML-IM, and
|
||||
@@ -53,4 +53,4 @@ static const char irc_format_char[] = {
|
||||
*/
|
||||
Xmpp::body irc_format_to_xhtmlim(const std::string& str);
|
||||
|
||||
#endif // COLORS_INCLUDED
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef LIST_ELEMENT_HPP_INCLUDED
|
||||
#define LIST_ELEMENT_HPP_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -16,4 +16,4 @@ struct ListElement
|
||||
std::string topic;
|
||||
};
|
||||
|
||||
#endif /* LIST_ELEMENT_HPP_INCLUDED */
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef DATABASE_HPP_INCLUDED
|
||||
#define DATABASE_HPP_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <biboumi.h>
|
||||
#ifdef USE_DATABASE
|
||||
@@ -50,4 +50,4 @@ private:
|
||||
};
|
||||
#endif /* USE_DATABASE */
|
||||
|
||||
#endif /* DATABASE_HPP_INCLUDED */
|
||||
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
#ifndef IID_INCLUDED
|
||||
# define IID_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -76,4 +76,4 @@ namespace std {
|
||||
const std::string to_string(const Iid& iid);
|
||||
}
|
||||
|
||||
#endif // IID_INCLUDED
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef IRC_CHANNEL_INCLUDED
|
||||
# define IRC_CHANNEL_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <irc/irc_user.hpp>
|
||||
#include <memory>
|
||||
@@ -67,4 +67,4 @@ public:
|
||||
bool joining;
|
||||
};
|
||||
|
||||
#endif // IRC_CHANNEL_INCLUDED
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef IRC_CLIENT_INCLUDED
|
||||
# define IRC_CLIENT_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <irc/irc_message.hpp>
|
||||
#include <irc/irc_channel.hpp>
|
||||
@@ -380,4 +380,4 @@ private:
|
||||
Resolver dns_resolver;
|
||||
};
|
||||
|
||||
#endif // IRC_CLIENT_INCLUDED
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef IRC_MESSAGE_INCLUDED
|
||||
# define IRC_MESSAGE_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
@@ -25,4 +25,4 @@ public:
|
||||
|
||||
std::ostream& operator<<(std::ostream& os, const IrcMessage& message);
|
||||
|
||||
#endif // IRC_MESSAGE_INCLUDED
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef IRC_USER_INCLUDED
|
||||
# define IRC_USER_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
@@ -30,4 +30,4 @@ public:
|
||||
std::set<char> modes;
|
||||
};
|
||||
|
||||
#endif // IRC_USER_INCLUDED
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef EMPTY_IF_FIXED_SERVER_HPP_INCLUDED
|
||||
#define EMPTY_IF_FIXED_SERVER_HPP_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -23,4 +23,4 @@ namespace utils
|
||||
|
||||
}
|
||||
|
||||
#endif /* EMPTY_IF_FIXED_SERVER_HPP_INCLUDED */
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef BIBOUMI_ADHOC_COMMANDS_HPP_INCLUDED
|
||||
#define BIBOUMI_ADHOC_COMMANDS_HPP_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <xmpp/adhoc_command.hpp>
|
||||
#include <xmpp/adhoc_session.hpp>
|
||||
@@ -20,4 +20,4 @@ void DisconnectUserFromServerStep1(XmppComponent&, AdhocSession& session, XmlNod
|
||||
void DisconnectUserFromServerStep2(XmppComponent&, AdhocSession& session, XmlNode& command_node);
|
||||
void DisconnectUserFromServerStep3(XmppComponent&, AdhocSession& session, XmlNode& command_node);
|
||||
|
||||
#endif /* BIBOUMI_ADHOC_COMMANDS_HPP_INCLUDED */
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef BIBOUMI_COMPONENT_INCLUDED
|
||||
# define BIBOUMI_COMPONENT_INCLUDED
|
||||
#pragma once
|
||||
|
||||
|
||||
#include <xmpp/xmpp_component.hpp>
|
||||
|
||||
@@ -106,4 +106,4 @@ private:
|
||||
AdhocCommandsHandler irc_channel_adhoc_commands_handler;
|
||||
};
|
||||
|
||||
#endif // BIBOUMI_COMPONENT_INCLUDED
|
||||
|
||||
|
||||
Reference in New Issue
Block a user