Remoto - VFS: logView.h Source File
Remoto - VFS
logView.h
Go to the documentation of this file.
1 
2 #ifndef LOGVIEW_H
3 #define LOGVIEW_H
4 
5 #include "VFS_application.h"
6 
7 class logView : public VFS_application
8 {
9  Q_OBJECT
10 
11  public:
12  Q_INVOKABLE explicit logView();
13  virtual ~logView();
14 
15  virtual VFS_node *find(VFS_request *r);
16 
17  protected:
18  virtual QByteArray icon();
19 
20  private:
21  // virtual void ls(VFS_request *r);
22  virtual void read(VFS_request *r);
23  // virtual void write(VFS_request *r);
24  virtual void metadata(VFS_request *r);
25  // virtual void report(VFS_request *r);
26  // virtual void submit(VFS_request *r);
27  // virtual void rm(VFS_request *r);
28 
29  QMap<QString,QString> _iconColors;
30 };
31 
32 #endif // LOGVIEW_H
A common base class for all things that want to act like an application or include ACL support.
VFS_node is the base class from which all other VFS_node classes derive.
Definition: VFS_node.h:143
The base class for all requests between nodes.
Definition: VFS_node.h:54
The logView node is a VFS_application plugin for viewing logs.
Definition: logView.h:8
Q_INVOKABLE logView()
Definition: logView.cpp:17
virtual ~logView()
Definition: logView.cpp:28
virtual void metadata(VFS_request *r)
Return metadata about a path that this node serves.
Definition: logView.cpp:99
virtual QByteArray icon()
The "stream" icon found in the VFS_icons library.
Definition: logView.cpp:37
virtual void read(VFS_request *r)
Read the list of logs available.
Definition: logView.cpp:74
QMap< QString, QString > _iconColors
The colors returned for served icons.
Definition: logView.h:29
virtual VFS_node * find(VFS_request *r)
Find a child of this node...
Definition: logView.cpp:49