summaryrefslogtreecommitdiff
path: root/project2/fileRows.h
blob: 0cf3f1dc38a6eb1f3a03cd0b9502c81501d431b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef FILEROWS_H
#define FILEROWS_H

#include "streamRows.h"
#include "fileStarGlibIoChannel.h"

class CommonObjects;

/// Project2 component to create a row set from the contents of a file on the local filesystem
class FileRows : public StreamRows {
	public:
		FileRows(const xmlpp::Element * p);
		~FileRows();

		void execute(const Glib::ustring &, const RowProcessor *) const;
		virtual void loadComplete(const CommonObjects *);
		virtual void setFilter(const Glib::ustring &);

		const Variable path;

	protected:
		virtual FileStarChannel doOpen() const;
};

#endif