Refactor and add imports

This commit is contained in:
Enrico M. Crisostomo
2018-09-25 14:43:21 +02:00
parent d7ca79a819
commit 9c51177cd8
2 changed files with 6 additions and 4 deletions

View File

@@ -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 */

View File

@@ -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.
*