interface.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. * BIBISH Is [a] Bible Interactive SHell, a front-end for the SWORD Project
  3. * inspired by Debian's bible package
  4. * Copyright (C) 2015 David "Judah's Shadow" Blue <yudahsshadow@gmx.com>
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License as published by the
  8. * Free Software Foundation version 2.
  9. *
  10. * This program is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License along
  16. * with this program; if not, write to the Free Software Foundation, Inc.,
  17. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  18. *
  19. */
  20. #ifndef INTERFACE_H
  21. #define INTERFACE_H
  22. //C++ Standard/STL includes
  23. #include <string>
  24. //SWORD Project includes
  25. #include <swmgr.h>
  26. //BIBISH includes
  27. #include "../back/library.h"
  28. #include "display.h"
  29. class Interface {
  30. public:
  31. int runInterface();
  32. private:
  33. void initalize();
  34. void configLines();
  35. std::string processCommand(std::string command);
  36. std::string selectedVersion;
  37. Display display;
  38. Library library;
  39. sword::SWMgr *swordLibrary;
  40. };
  41. #endif // INTERFACE_H