languages/haskell/compiler/ghcoptions/ghcoptionsplugin.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 ghcoptionsplugin.h - description 00003 ------------------- 00004 begin : Sat Aug 16 2003 00005 copyright : (C) 2003 by Peter Robinson 00006 email : listener@thaldyron.com 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef GHCOPTIONSPLUGIN_H 00019 #define GHCOPTIONSPLUGIN_H 00020 00021 #include "kdialogbase.h" 00022 #include "kdevcompileroptions.h" 00023 00024 00025 00026 class GhcOptionsPlugin : public KDevCompilerOptions 00027 { 00028 Q_OBJECT 00029 00030 public: 00031 GhcOptionsPlugin( QObject *parent, const char *name, const QStringList &args ); 00032 ~GhcOptionsPlugin(); 00033 00034 virtual QString exec( QWidget *parent, const QString &flags ); 00035 }; 00036 00037 00038 /*class FeedbackTab; 00039 class FilesAndDirectoriesTab; 00040 class LanguageTab; 00041 class CodegenTab;*/ 00042 00043 class GhcOptionsDialog : public KDialogBase 00044 { 00045 public: 00046 GhcOptionsDialog( QWidget *parent=0, const char *name=0 ); 00047 ~GhcOptionsDialog(); 00048 00049 void setFlags(const QString &flags); 00050 QString flags() const; 00051 00052 private: 00053 /* GeneralTab *general; 00054 OptimizationTab *optimization; 00055 G77Tab *g77; 00056 Warnings1Tab *warnings1; 00057 Warnings2Tab *warnings2;*/ 00058 00059 /* FeedbackTab *feedback; 00060 FilesAndDirectoriesTab *directories; 00061 FilesAndDirectoriesTab2 *directories2; 00062 DebugOptimTab *debug_optim; 00063 LanguageTab *language; 00064 CodegenTab *codegen; 00065 AssemblerTab *assembler; 00066 LinkerTab *linker; 00067 MiscTab *misc; 00068 QStringList unrecognizedFlags;*/ 00069 }; 00070 00071 #endif