Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

NewSubmittedJobFormUnit.h

Go to the documentation of this file.
00001 #ifndef NewSubmittedJobFormUnitH
00002 #define NewSubmittedJobFormUnitH
00003 
00004 /*******************************************************************************
00005 Copyright 2002 Petr Kulhanek
00006 
00007     This file is part of CHARON program.
00008 
00009     CHARON program is free software; you can redistribute it and/or modify
00010     it under the terms of the GNU General Public License as published by
00011     the Free Software Foundation; either version 2 of the License, or
00012     (at your option) any later version.
00013 
00014     CHARON program is distributed in the hope that it will be useful,
00015     but WITHOUT ANY WARRANTY; without even the implied warranty of
00016     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017     GNU General Public License for more details.
00018 
00019     You should have received a copy of the GNU General Public License
00020     along with CHARON program; if not, write to the Free Software
00021     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00022 *******************************************************************************/
00023 
00027 //---------------------------------------------------------------------------
00028 
00029 #include <Classes.hpp>
00030 #include <Controls.hpp>
00031 #include <StdCtrls.hpp>
00032 #include <Forms.hpp>
00033 #include <Buttons.hpp>
00034 #include <ExtCtrls.hpp>
00035 #include <Graphics.hpp>
00036 #include <vector>
00037 
00038 #include "SmallString.h"
00039 #include "XMLNetFile.h"
00040 
00041 class CJob;
00042 class CXMLElement;
00043 
00044 //---------------------------------------------------------------------------
00045 
00047 
00050 class TNewSubmittedJobForm : public TForm
00051 {
00052 __published:    // IDE-managed Components
00053     TBitBtn *SubmitBitBtn;
00054     TBitBtn *PostponeBitBtn;
00055     TBitBtn *DismissBitBtn;
00056     TImage *Image1;
00057     TLabel *Label1;
00058     TLabel *JobNameLabel;
00059     TComboBox *ComputersCB;
00060     TComboBox *QueuesCB;
00061     TLabel *Label5;
00062     TLabel *Label6;
00063     TLabel *Label7;
00064     TLabel *ProjectNameLabel;
00065     TCheckBox *CheckBox1;
00066     void __fastcall FormCreate(TObject *Sender);
00067     void __fastcall SubmitBitBtnClick(TObject *Sender);
00068     void __fastcall PostponeBitBtnClick(TObject *Sender);
00069     void __fastcall ComputersCBChange(TObject *Sender);
00070 
00071     public:             // User declarations
00072         __fastcall TNewSubmittedJobForm(CJob* p_job,CXMLElement* p_ele);
00073 
00074     int             ComputerID;
00075     int             QueueID;
00076     bool            Paused;
00077 
00078     private:    // User declarations
00079     CJob*          Job;
00080     CXMLElement*   XMLElement;
00081     vector<int>    ComputerIDs;
00082     vector<int>    QueueIDs;
00083 
00084     void __fastcall UpdateQueues(void);
00085     };
00086 
00087 //---------------------------------------------------------------------------
00088 
00089 //---------------------------------------------------------------------------
00090 #endif

Generated on Sun Feb 9 12:53:51 2003 for NemesisCore by doxygen1.3-rc2