Skip to content

Commit

Permalink
add stub for win32 file monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Aug 18, 2011
1 parent 5381bc7 commit 7d7a948
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/cpp/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ else()
system/Win32OutputCapture.cpp
system/Win32System.cpp
system/Win32ChildProcess.cpp
system/file_monitor/Win32FileMonitor.cpp
)

endif()
Expand Down
61 changes: 61 additions & 0 deletions src/cpp/core/system/file_monitor/Win32FileMonitor.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/*
* Win32FileMonitor.cpp
*
* Copyright (C) 2009-11 by RStudio, Inc.
*
* This program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
* AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
*
*/

#include <core/system/FileMonitor.hpp>

#include <core/FilePath.hpp>

#include <core/system/FileScanner.hpp>
#include <core/system/System.hpp>

#include "FileMonitorImpl.hpp"

namespace core {
namespace system {
namespace file_monitor {

namespace {



} // anonymous namespace

namespace detail {

// register a new file monitor
Handle registerMonitor(const core::FilePath& filePath,
const Callbacks& callbacks)
{
return NULL;
}

// unregister a file monitor
void unregisterMonitor(Handle handle)
{

}

void run(const boost::function<void()>& checkForInput)
{

}

} // namespace detail
} // namespace file_monitor
} // namespace system
} // namespace core





0 comments on commit 7d7a948

Please sign in to comment.