1 /************************************************************************** 2 ** This file is part of LiteIDE 3 ** 4 ** Copyright (c) 2011-2019 LiteIDE. All rights reserved. 5 ** 6 ** This library is free software; you can redistribute it and/or 7 ** modify it under the terms of the GNU Lesser General Public 8 ** License as published by the Free Software Foundation; either 9 ** version 2.1 of the License, or (at your option) any later version. 10 ** 11 ** This library is distributed in the hope that it will be useful, 12 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 13 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 ** Lesser General Public License for more details. 15 ** 16 ** In addition, as a special exception, that plugins developed for LiteIDE, 17 ** are allowed to remain closed sourced and can be distributed under any license . 18 ** These rights are included in the file LGPL_EXCEPTION.txt in this package. 19 ** 20 **************************************************************************/ 21 // Module: litedebugoptionfactory.h 22 // Creator: visualfc <visualfc@gmail.com> 23 24 #ifndef LITEDEBUGOPTIONFACTORY_H 25 #define LITEDEBUGOPTIONFACTORY_H 26 27 #include "liteapi/liteapi.h" 28 29 class LiteDebugOptionFactory : public LiteApi::IOptionFactory 30 { 31 public: 32 LiteDebugOptionFactory(LiteApi::IApplication *app, QObject *parent); 33 virtual QStringList mimeTypes() const; 34 virtual LiteApi::IOption *create(const QString &mimeType); 35 protected: 36 LiteApi::IApplication *m_liteApp; 37 }; 38 39 #endif // LITEDEBUGOPTIONFACTORY_H 40