Nemiver  0.3
nmv-dbg-perspective-dynamic-layout.h
Go to the documentation of this file.
1 //Author: Fabien Parent
2 /*
3  *This file is part of the Nemiver project
4  *
5  *Nemiver is free software; you can redistribute
6  *it and/or modify it under the terms of
7  *the GNU General Public License as published by the
8  *Free Software Foundation; either version 2,
9  *or (at your option) any later version.
10  *
11  *Nemiver is distributed in the hope that it will
12  *be useful, but WITHOUT ANY WARRANTY;
13  *without even the implied warranty of
14  *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15  *See the GNU General Public License for more details.
16  *
17  *You should have received a copy of the
18  *GNU General Public License along with Nemiver;
19  *see the file COPYING.
20  *If not, write to the Free Software Foundation,
21  *Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22  *
23  *See COPYRIGHT file copyright information.
24  */
25 #ifndef __NMV_DBG_PERSPECTIVE_DYNAMIC_LAYOUT_H__
26 #define __NMV_DBG_PERSPECTIVE_DYNAMIC_LAYOUT_H__
27 
28 #include <gtkmm/widget.h>
30 #include "uicommon/nmv-layout.h"
31 
32 NEMIVER_BEGIN_NAMESPACE (nemiver)
33 
35  //non copyable
37  DBGPerspectiveDynamicLayout& operator= (const Layout&);
38 
39  struct Priv;
40  SafePtr<Priv> m_priv;
41 
42 public:
44 
45  void activate_view (int);
46 
47  Gtk::Widget* widget () const;
48 
49  void do_lay_out (IPerspective&);
50 
51  void do_init ();
52 
53  void do_cleanup_layout ();
54 
55  const UString& identifier () const;
56 
57  const UString& name () const;
58 
59  const UString& description () const;
60 
61  void save_configuration ();
62 
63  void append_view (Gtk::Widget&, const UString&, int);
64 
65  void remove_view (int);
66 
67  virtual ~DBGPerspectiveDynamicLayout ();
68 };//end class DBGPerspectiveDynamicLayout
69 
70 NEMIVER_END_NAMESPACE (nemiver)
71 #endif //__NMV_DBG_PERSPECTIVE_DYNAMIC_LAYOUT_H__
nmv-safe-ptr-utils.h
nemiver
Definition: nmv-address.h:31
NEMIVER_API
#define NEMIVER_API
Definition: nmv-api-macros.h:53
nmv-layout.h
nemiver::common::UString
Definition: nmv-ustring.h:45
nemiver::Layout
The base class for Layouts.
Definition: nmv-layout.h:48
nemiver::IPerspective
Definition: nmv-i-perspective.h:54
nemiver::common::SafePtr< Priv >
nemiver::DBGPerspectiveDynamicLayout
Definition: nmv-dbg-perspective-dynamic-layout.h:34
nemiver::common::env::do_init
void do_init()