ktigcc.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 bool have_usb;
  31. extern char tempdir[];
  32. void write_temp_file(const char *filename, const char *data, const size_t len);
  33. void delete_temp_file(const char *filename);
  34. void clear_temp_dir(void);
  35. void force_qt_assistant_page(int n);
  36. const char *lookup_doc_keyword(const char *keyword);
  37. extern KConfig *pconfig;
  38. extern KAboutData *pabout;
  39. extern const char *parg;
  40. extern QAssistantClient *assistant;
  41. extern QClipboard *clipboard;
  42. extern QPtrList<SourceFile> sourceFiles;
  43. extern tprSettings settings;
  44. extern tprLibOpts libopts;