1234567891011121314151617181920212223242526272829303132333435363738394041 |
- /*
- * BIBISH Is [a] Bible Interactive SHell, a front-end for the SWORD Project
- * inspired by Debian's bible package
- * Copyright (C) 2015 David "Judah's Shadow" Blue <yudahsshadow@gmx.com>
- *
- * 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 version 2.
- *
- * 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.
- *
- */
- #ifndef PAGER_H
- #define PAGER_H
- #include "../back/types.h"
- #include <string>
- #include <list>
- class Pager {
- public:
- Pager();
- ~Pager();
- void setSize(uint rowSize,uint colSize = 80);
- std::list<page> getPagedText(std::string text);
- private:
- uint lines;
- uint cols;
- };
- #endif // PAGER_H
|