Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2218 sbetterm 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
	TDataSource *MASSTxnDataSource;
31
	TLabel *Label1;
32
	TCheckListBox *TransactionList;
33
	TPanel *TestCasePanel;
34
	void __fastcall TransactionListClickCheck(TObject *Sender);
35
 
36
private:	// User declarations
37
    vector<unsigned int>	m_selected_txns;
38
 
39
public:		// User declarations
40
	__fastcall TTxnConfig(TComponent* Owner);
41
    bool ShowForm(const AnsiString& project_code, int iteration, const AnsiString &testcase_text);
42
 
43
    vector<unsigned int> &getSelectedTxns();	
44
};
45
//---------------------------------------------------------------------------
46
extern PACKAGE TTxnConfig *TxnConfig;
47
//---------------------------------------------------------------------------
48
#endif