2020-06-07 02:28:05 -03:00
|
|
|
#ifndef MUDLET_TMXPTAGPARSER_H
|
|
|
|
|
#define MUDLET_TMXPTAGPARSER_H
|
2020-05-03 14:09:42 -03:00
|
|
|
|
|
|
|
|
/***************************************************************************
|
|
|
|
|
* Copyright (C) 2020 by Gustavo Sousa - gustavocms@gmail.com *
|
2020-12-16 21:03:02 +00:00
|
|
|
* Copyright (C) 2020 by Stephen Lyons - slysven@virginmedia.com *
|
2020-05-03 14:09:42 -03:00
|
|
|
* *
|
|
|
|
|
* 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) any later version. *
|
|
|
|
|
* *
|
|
|
|
|
* 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., *
|
|
|
|
|
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "MxpTag.h"
|
|
|
|
|
|
|
|
|
|
#include <QList>
|
|
|
|
|
#include <QSharedPointer>
|
2021-03-29 08:46:25 -03:00
|
|
|
#include <QString>
|
2020-05-03 14:09:42 -03:00
|
|
|
|
|
|
|
|
class TMxpTagParser
|
|
|
|
|
{
|
|
|
|
|
public:
|
2021-03-29 08:46:25 -03:00
|
|
|
static QList<QSharedPointer<MxpNode>> parseToMxpNodeList(const QString& tagText, bool ignoreText = false);
|
2020-05-03 14:09:42 -03:00
|
|
|
};
|
|
|
|
|
|
2020-06-07 02:28:05 -03:00
|
|
|
#endif //MUDLET_TMXPTAGPARSER_H
|