Nemiver  0.3
nmv-call-function-dialog.h
Go to the documentation of this file.
1 //Author: Dodji Seketeli
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_CALL_FUNCTION_DIALOG_H__
26 #define __NMV_CALL_FUNCTION_DIALOG_H__
27 
28 #include <list>
30 #include "common/nmv-ustring.h"
31 #include "nmv-dialog.h"
32 
33 
34 NEMIVER_BEGIN_NAMESPACE (nemiver)
35 
37 
38 class CallFunctionDialog : public Dialog {
39  class Priv;
40  SafePtr<Priv> m_priv;
41 
42 public:
43 
44  CallFunctionDialog (Gtk::Window &a_parent,
45  const UString &a_resource_root_path);
46  virtual ~CallFunctionDialog ();
47 
48  UString call_expression () const;
49  void call_expression (const UString &a_expr);
50  void set_history (const std::list<UString> &);
51  void get_history (std::list<UString> &) const;
52  void add_to_history (const UString &a_expr);
53 
54 };//end class CallFunctionDialog
55 
56 NEMIVER_END_NAMESPACE (nemiver)
57 
58 #endif /*__NMV_CALL_FUNCTION_DIALOG_H__*/
59 
nmv-safe-ptr-utils.h
nemiver
Definition: nmv-address.h:31
nmv-ustring.h
nemiver::common::UString
Definition: nmv-ustring.h:45
nemiver::CallFunctionDialog
Definition: nmv-call-function-dialog.h:38
nemiver::Dialog
Definition: nmv-dialog.h:50
nemiver::common::SafePtr
Definition: nmv-safe-ptr.h:71
nmv-dialog.h