ktigcc.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. ktigcc - TIGCC IDE for KDE
  3. Copyright (C) 2004-2006 Kevin Kofler
  4. Copyright (C) 2006 Joey Adams
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2, or (at your option)
  8. any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software Foundation,
  15. Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  16. */
  17. #include <cstddef>
  18. #include <qptrlist.h>
  19. #include <kconfig.h>
  20. #include <kaboutdata.h>
  21. class QAssistantClient;
  22. class QClipboard;
  23. class SourceFile;
  24. typedef struct tprsettings tprSettings;
  25. typedef struct tprlibopts tprLibOpts;
  26. extern const char *tigcc_base;
  27. extern const char *quill_drv;
  28. extern bool have_fargo;
  29. extern bool have_flashos;
  30. extern char tempdir[];
  31. void write_temp_file(const char *filename, const char *data, const size_t len);
  32. void delete_temp_file(const char *filename);
  33. void clear_temp_dir(void);
  34. void force_qt_assistant_page(int n);
  35. const char *lookup_doc_keyword(const char *keyword);
  36. extern KConfig *pconfig;
  37. extern KAboutData *pabout;
  38. extern const char *parg;
  39. extern QAssistantClient *assistant;
  40. extern QClipboard *clipboard;
  41. extern QPtrList<SourceFile> sourceFiles;
  42. extern tprSettings settings;
  43. extern tprLibOpts libopts;