indent
This commit is contained in:
parent
6636d67f5b
commit
2606d78b18
@ -40,14 +40,9 @@
|
|||||||
*/
|
*/
|
||||||
class RclMonitor {
|
class RclMonitor {
|
||||||
public:
|
public:
|
||||||
RclMonitor()
|
RclMonitor() {}
|
||||||
: saved_errno(0)
|
virtual ~RclMonitor() {}
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual ~RclMonitor()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
virtual bool addWatch(const string& path, bool isDir) = 0;
|
virtual bool addWatch(const string& path, bool isDir) = 0;
|
||||||
virtual bool getEvent(RclMonEvent& ev, int msecs = -1) = 0;
|
virtual bool getEvent(RclMonEvent& ev, int msecs = -1) = 0;
|
||||||
virtual bool ok() const = 0;
|
virtual bool ok() const = 0;
|
||||||
@ -55,7 +50,7 @@ public:
|
|||||||
virtual bool generatesExist() const = 0;
|
virtual bool generatesExist() const = 0;
|
||||||
|
|
||||||
// Save significant errno after monitor calls
|
// Save significant errno after monitor calls
|
||||||
int saved_errno;
|
int saved_errno{0};
|
||||||
};
|
};
|
||||||
|
|
||||||
// Monitor factory. We only have one compiled-in kind at a time, no
|
// Monitor factory. We only have one compiled-in kind at a time, no
|
||||||
@ -757,4 +752,3 @@ static RclMonitor *makeMonitor()
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif // RCL_MONITOR
|
#endif // RCL_MONITOR
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user