Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2263 kivins 1
//---------------------------------------------------------------------------
2
 
3
#ifndef TransactionConfigH
4
#define TransactionConfigH
5
//---------------------------------------------------------------------------
6
#include <Classes.hpp>
7
#include <Controls.hpp>
8
#include <StdCtrls.hpp>
9
#include <Forms.hpp>
10
#include "DataModule.h"
11
#include <ADODB.hpp>
12
#include <DB.hpp>
13
#include <ExtCtrls.hpp>
14
#include <Buttons.hpp>
15
#include <DBCtrls.hpp>
16
#include <Mask.hpp>
17
#include <CheckLst.hpp>
18
 
19
#include <vector>
20
using namespace std;
21
 
22
//---------------------------------------------------------------------------
23
class TTxnConfig : public TForm
24
{
25
__published:	// IDE-managed Components
26
	TADOQuery *MASSTxnQuery;
27
	TPanel *TitlePanel;
28
	TBitBtn *BitBtn1;
29
	TBitBtn *BitBtn2;
30
	TLabel *Label1;
31
	TCheckListBox *TransactionList;
32
	TPanel *TestCasePanel;
33
	void __fastcall TransactionListClickCheck(TObject *Sender);
34
 
35
private:	// User declarations
36
    vector<unsigned int>	m_selected_txns;
37
 
38
public:		// User declarations
39
	__fastcall TTxnConfig(TComponent* Owner);
40
    bool ShowForm(const AnsiString& project_code, int iteration, const AnsiString &testcase_text);
41
 
42
    vector<unsigned int> &getSelectedTxns();	
43
};
44
//---------------------------------------------------------------------------
45
extern PACKAGE TTxnConfig *TxnConfig;
46
//---------------------------------------------------------------------------
47
#endif