X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Firctags.h;fp=src%2Fcore%2Firctags.h;h=36b642a9f93313ca7adac7a0020bcb8cc9b00c8f;hp=0000000000000000000000000000000000000000;hb=d030c159599a22c9023b8f0d34909d3277707f52;hpb=be8eb9963bb6c0e6522f818c51f9b6930adc7876 diff --git a/src/core/irctags.h b/src/core/irctags.h new file mode 100644 index 00000000..36b642a9 --- /dev/null +++ b/src/core/irctags.h @@ -0,0 +1,37 @@ +/*************************************************************************** + * Copyright (C) 2005-2019 by the Quassel Project * + * devel@quassel-irc.org * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) version 3. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + +#pragma once + +#include "irctag.h" + +/** + * This namespace contains commonly used message tags, similar to the IrcCaps + * namespace used for IRCv3 capabilities. + */ +namespace IrcTags +{ + /** + * Server time for messages. + * + * https://ircv3.net/specs/extensions/server-time-3.2.html + */ + const IrcTagKey SERVER_TIME = IrcTagKey{"", "time", false}; +}