NAP
nap
core
src
nap
directorywatcher.h
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
5
#pragma once
6
7
// External Includes
8
#include <string>
9
#include <memory>
10
#include <vector>
11
#include <utility/dllexport.h>
12
13
namespace
nap
14
{
20
class
NAPAPI
DirectoryWatcher
21
{
22
public
:
26
DirectoryWatcher
(
const
std::string& directory);
27
~
DirectoryWatcher
();
28
35
bool
update(std::vector<std::string>& modifiedFiles);
36
37
private
:
38
struct
PImpl;
39
struct
PImpl_deleter {
void
operator()(PImpl*)
const
; };
40
std::unique_ptr<PImpl, PImpl_deleter> mPImpl =
nullptr
;
41
};
42
43
}
//< End Namespace nap
44
nap
Definition:
templateapp.h:17
nap::DirectoryWatcher
Definition:
directorywatcher.h:20
Generated by doxygen