Loading...
Searching...
No Matches
score::RecursiveWatch Class Reference

Classes

struct  AsyncCallbacks
 
struct  Callbacks
 
struct  Watched
 

Public Member Functions

void setWatchedFolder (std::string root)
 
void registerWatch (std::string extension, Callbacks callbacks)
 
void registerWatch (std::string extension, AsyncCallbacks callbacks)
 
void scan () const
 Synchronous scan: calls Callbacks::added on the calling thread.
 
void scanAsync (QObject *context)
 
void reset ()
 

Member Function Documentation

◆ scanAsync()

void score::RecursiveWatch::scanAsync ( QObject *  context)

Asynchronous scan: runs directory traversal + AsyncCallbacks::filter on a worker thread, then batch-delivers the returned commit actions on the GUI thread via context's event loop.


The documentation for this class was generated from the following files: