Nemiver  0.3
nmv-run-program-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_RUN_PROGRAM_DIALOG_H__
26 #define __NMV_RUN_PROGRAM_DIALOG_H__
27 
28 #include <map>
30 #include "nmv-dialog.h"
31 
32 NEMIVER_BEGIN_NAMESPACE (nemiver)
33 
34 namespace common {
35 class UString;
36 }
37 
40 
41 class RunProgramDialog : public Dialog {
42 
43  struct Priv;
44  SafePtr<Priv> m_priv;
45 
46 public:
47 
48  RunProgramDialog (Gtk::Window &a_parent,
49  const UString &a_resource_root_path);
50 
51  virtual ~RunProgramDialog ();
52 
53  UString program_name () const;
54  void program_name (const UString &a_name);
55 
56  UString arguments () const;
57  void arguments (const UString &a_args);
58 
59  UString working_directory () const;
60  void working_directory (const UString &);
61 
62  std::map<UString, UString> environment_variables () const;
63  void environment_variables (const std::map<UString, UString> &);
64 
65 };//end class nemiver
66 
67 NEMIVER_END_NAMESPACE (nemiver)
68 
69 #endif //__NMV_RUN_PROGRAM_DIALOG_H__
70 
nmv-safe-ptr-utils.h
nemiver
Definition: nmv-address.h:31
nemiver::common::UString
Definition: nmv-ustring.h:45
nemiver::Dialog
Definition: nmv-dialog.h:50
nemiver::common::SafePtr
Definition: nmv-safe-ptr.h:71
nmv-dialog.h
common
Definition: nmv-proc-list-dialog.h:32
nemiver::RunProgramDialog
Definition: nmv-run-program-dialog.h:41