mirror of
https://github.com/AdaCore/fswatch.git
synced 2026-02-12 13:09:11 -08:00
Refactor and add imports
This commit is contained in:
@@ -615,10 +615,6 @@ namespace fsw
|
||||
# endif
|
||||
#endif
|
||||
};
|
||||
|
||||
typedef monitor *(*FSW_FN_MONITOR_CREATOR)(std::vector<std::string> paths,
|
||||
FSW_EVENT_CALLBACK *callback,
|
||||
void *context);
|
||||
}
|
||||
|
||||
#endif /* FSW__MONITOR_H */
|
||||
|
||||
@@ -28,8 +28,14 @@
|
||||
#ifndef FSW__MONITOR_FACTORY_H
|
||||
# define FSW__MONITOR_FACTORY_H
|
||||
|
||||
#include "monitor.hpp"
|
||||
|
||||
namespace fsw
|
||||
{
|
||||
typedef monitor *(*FSW_FN_MONITOR_CREATOR)(std::vector<std::string> paths,
|
||||
FSW_EVENT_CALLBACK *callback,
|
||||
void *context);
|
||||
|
||||
/**
|
||||
* @brief Object factory class for fsw::monitor instances.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user