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