1 /************************************************************************ 2 ** 3 ** Copyright (C) 2009, 2010, 2011 Strahinja Markovic <strahinja.markovic@gmail.com> 4 ** 5 ** This file is part of Sigil. 6 ** 7 ** Sigil is free software: you can redistribute it and/or modify 8 ** it under the terms of the GNU General Public License as published by 9 ** the Free Software Foundation, either version 3 of the License, or 10 ** (at your option) any later version. 11 ** 12 ** Sigil is distributed in the hope that it will be useful, 13 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 14 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 ** GNU General Public License for more details. 16 ** 17 ** You should have received a copy of the GNU General Public License 18 ** along with Sigil. If not, see <http://www.gnu.org/licenses/>. 19 ** 20 *************************************************************************/ 21 22 #pragma once 23 #ifndef MISCTEXTTAB_H 24 #define MISCTEXTTAB_H 25 26 #include "MiscEditors/ClipEditorModel.h" 27 #include "Tabs/TextTab.h" 28 #include "ViewEditors/CodeViewEditor.h" 29 30 class MiscTextResource; 31 32 class MiscTextTab : public TextTab 33 { 34 Q_OBJECT 35 36 public: 37 MiscTextTab(MiscTextResource *resource, int line_to_scroll_to = -1, int position_to_scroll_to = -1, QWidget *parent = 0); 38 }; 39 40 #endif // MISCTEXTTAB_H 41