summaryrefslogtreecommitdiff
path: root/project2/processes/procRows.h
blob: b2085b85839c3710cc57f29dd28119cd3209af4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef PROCROWS_H
#define PROCROWS_H

#include "fileRows.h"
#include "iHaveParameters.h"

/// Project2 component to create a row set from the output of a locally executed program
class ProcRows : public FileRows, IHaveParameters {
	public:
		ProcRows(ScriptNodePtr p);
		~ProcRows();

		Glib::RefPtr<Glib::IOChannel> doOpen() const;
		void doClose(Glib::RefPtr<Glib::IOChannel>) const;

	protected:
		mutable int fds[2];
};

#endif