Nemiver  0.3
nmv-proc-utils.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_PROC_UTILS_H__
26 #define __NMV_PROC_UTILS_H__
27 
28 #include <vector>
29 #include <glibmm.h>
30 #include "nmv-ustring.h"
31 
32 namespace nemiver {
33 namespace common {
34 
35 bool NEMIVER_API launch_program (const std::vector<UString> &a_args,
36  int &a_pid,
37  int &a_master_pty_fd,
38  int &a_stdout_fd,
39  int &a_stderr_fd);
40 
42  (Glib::IOCondition a_cond,
43  const sigc::slot<bool, Glib::IOCondition> &a_slot,
44  const Glib::RefPtr<Glib::IOChannel> &a_chan,
45  const Glib::RefPtr<Glib::MainContext>&a_ctxt);
46 
47 bool NEMIVER_API is_libtool_executable_wrapper (const UString &a_path);
48 }//end namspace common
49 }//end namespace nemiver
50 #endif //__NMV_PROC_UTILS_H__
nemiver::common::is_libtool_executable_wrapper
bool is_libtool_executable_wrapper(const UString &a_path)
nemiver
Definition: nmv-address.h:31
nmv-ustring.h
NEMIVER_API
#define NEMIVER_API
Definition: nmv-api-macros.h:53
nemiver::common::attach_channel_to_loop_context_as_source
void attach_channel_to_loop_context_as_source(Glib::IOCondition a_cond, const sigc::slot< bool, Glib::IOCondition > &a_slot, const Glib::RefPtr< Glib::IOChannel > &a_chan, const Glib::RefPtr< Glib::MainContext > &a_ctxt)
nemiver::common::launch_program
bool launch_program(const std::vector< UString > &a_args, int &a_pid, int &a_master_pty_fd, int &a_stdout_fd, int &a_stderr_fd)
common
Definition: nmv-proc-list-dialog.h:32