xref: /aoo41x/main/basctl/source/basicide/brkdlg.hxx (revision 96821c26)
1*96821c26SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*96821c26SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*96821c26SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*96821c26SAndrew Rist  * distributed with this work for additional information
6*96821c26SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*96821c26SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*96821c26SAndrew Rist  * "License"); you may not use this file except in compliance
9*96821c26SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*96821c26SAndrew Rist  *
11*96821c26SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*96821c26SAndrew Rist  *
13*96821c26SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*96821c26SAndrew Rist  * software distributed under the License is distributed on an
15*96821c26SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*96821c26SAndrew Rist  * KIND, either express or implied.  See the License for the
17*96821c26SAndrew Rist  * specific language governing permissions and limitations
18*96821c26SAndrew Rist  * under the License.
19*96821c26SAndrew Rist  *
20*96821c26SAndrew Rist  *************************************************************/
21*96821c26SAndrew Rist 
22*96821c26SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef _BRKDLG_HXX
25cdf0e10cSrcweir #define _BRKDLG_HXX
26cdf0e10cSrcweir 
27cdf0e10cSrcweir #include <svheader.hxx>
28cdf0e10cSrcweir #include <bastypes.hxx>
29cdf0e10cSrcweir #include <vcl/dialog.hxx>
30cdf0e10cSrcweir 
31cdf0e10cSrcweir #ifndef _SV_BUTTON_HXX //autogen
32cdf0e10cSrcweir #include <vcl/button.hxx>
33cdf0e10cSrcweir #endif
34cdf0e10cSrcweir #include <vcl/field.hxx>
35cdf0e10cSrcweir #include <vcl/fixed.hxx>
36cdf0e10cSrcweir 
37cdf0e10cSrcweir class BreakPointDialog : public ModalDialog
38cdf0e10cSrcweir {
39cdf0e10cSrcweir private:
40cdf0e10cSrcweir 	ComboBox		aComboBox;
41cdf0e10cSrcweir 	OKButton		aOKButton;
42cdf0e10cSrcweir 	CancelButton	aCancelButton;
43cdf0e10cSrcweir 	PushButton		aNewButton;
44cdf0e10cSrcweir 	PushButton 		aDelButton;
45cdf0e10cSrcweir //	PushButton 		aShowButton;
46cdf0e10cSrcweir 	CheckBox 		aCheckBox;
47cdf0e10cSrcweir 	FixedText 		aBrkText;
48cdf0e10cSrcweir 	FixedText 		aPassText;
49cdf0e10cSrcweir 	NumericField 	aNumericField;
50cdf0e10cSrcweir 
51cdf0e10cSrcweir     BreakPointList & m_rOriginalBreakPointList;
52cdf0e10cSrcweir     BreakPointList m_aModifiedBreakPointList;
53cdf0e10cSrcweir 
54cdf0e10cSrcweir protected:
55cdf0e10cSrcweir 	void 			CheckButtons();
56cdf0e10cSrcweir 	DECL_LINK( CheckBoxHdl, CheckBox * );
57cdf0e10cSrcweir 	DECL_LINK( ComboBoxHighlightHdl, ComboBox * );
58cdf0e10cSrcweir 	DECL_LINK( EditModifyHdl, Edit * );
59cdf0e10cSrcweir 	DECL_LINK( ButtonHdl, Button * );
60cdf0e10cSrcweir 	void			UpdateFields( BreakPoint* pBrk );
61cdf0e10cSrcweir 	BreakPoint*		GetSelectedBreakPoint();
62cdf0e10cSrcweir 
63cdf0e10cSrcweir 
64cdf0e10cSrcweir public:
65cdf0e10cSrcweir 			BreakPointDialog( Window* pParent, BreakPointList& rBrkList );
66cdf0e10cSrcweir 
67cdf0e10cSrcweir 	void	SetCurrentBreakPoint( BreakPoint* pBrk );
68cdf0e10cSrcweir };
69cdf0e10cSrcweir 
70cdf0e10cSrcweir #endif	// _BRKDLG_HXX
71