Nemiver  0.3
nmv-set-breakpoint-dialog.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; -*-'
2 //Author: Jonathon Jongsma
3 // Dodji Seketeli
4 /*
5  *This file is part of the Nemiver project
6  *
7  *Nemiver is free software; you can redistribute
8  *it and/or modify it under the terms of
9  *the GNU General Public License as published by the
10  *Free Software Foundation; either version 2,
11  *or (at your option) any later version.
12  *
13  *Nemiver is distributed in the hope that it will
14  *be useful, but WITHOUT ANY WARRANTY;
15  *without even the implied warranty of
16  *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17  *See the GNU General Public License for more details.
18  *
19  *You should have received a copy of the
20  *GNU General Public License along with Nemiver;
21  *see the file COPYING.
22  *If not, write to the Free Software Foundation,
23  *Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24  *
25  *See COPYRIGHT file copyright information.
26  */
27 #ifndef __NMV_SET_BREAKPOINT_DIALOG_H__
28 #define __NMV_SET_BREAKPOINT_DIALOG_H__
29 
31 #include "common/nmv-address.h"
32 #include "nmv-dialog.h"
33 
34 NEMIVER_BEGIN_NAMESPACE (nemiver)
35 
36 namespace common {
37 class UString;
38 }
39 
43 
45 {
46  class Priv;
47  SafePtr<Priv> m_priv;
48 
49 public:
50  enum Mode
51  {
55  MODE_EVENT
56  };
57 
58  SetBreakpointDialog (Gtk::Window &a_parent,
59  const UString &a_resource_root_path);
60  virtual ~SetBreakpointDialog ();
61 
62  UString file_name () const;
63  void file_name (const UString &a_name);
64 
65  int line_number () const;
66  void line_number (int);
67 
68  UString function () const;
69  void function (const UString &a_name);
70 
71  Address address () const;
72  void address (const Address &);
73 
74  UString event () const;
75  void event (const UString &a_event);
76 
77  UString condition () const;
78  void condition (const UString &a_cond);
79 
80  bool count_point () const;
81  void count_point (bool a_flag);
82 
83  Mode mode () const;
84  void mode (Mode);
85 
86 };//end class nemiver
87 
88 NEMIVER_END_NAMESPACE (nemiver)
89 
90 #endif //__NMV_SET_BREAKPOINT_DIALOG_H__
91 
nmv-safe-ptr-utils.h
nemiver::SetBreakpointDialog::MODE_BINARY_ADDRESS
@ MODE_BINARY_ADDRESS
Definition: nmv-set-breakpoint-dialog.h:54
nmv-address.h
nemiver
Definition: nmv-address.h:31
nemiver::SetBreakpointDialog::MODE_FUNCTION_NAME
@ MODE_FUNCTION_NAME
Definition: nmv-set-breakpoint-dialog.h:53
nemiver::SetBreakpointDialog
Definition: nmv-set-breakpoint-dialog.h:44
nemiver::common::UString
Definition: nmv-ustring.h:45
nemiver::SetBreakpointDialog::MODE_SOURCE_LOCATION
@ MODE_SOURCE_LOCATION
Definition: nmv-set-breakpoint-dialog.h:52
nemiver::common::Address
Definition: nmv-address.h:34
nemiver::Dialog
Definition: nmv-dialog.h:50
nemiver::SetBreakpointDialog::Mode
Mode
Definition: nmv-set-breakpoint-dialog.h:50
nemiver::common::SafePtr
Definition: nmv-safe-ptr.h:71
nmv-dialog.h
common
Definition: nmv-proc-list-dialog.h:32