classes/CApprise.cpp
void CApprise::addWatch(const std::string &filePath)
    {
        try
        {
            m_fileEventNotifier->addWatch(filePath);
        }
        catch (const std::exception &e)
        {
            throw Exception(e.what());
        }
    }
//
// Add watch (file or directory)
//

Add watch (file or directory)
Add watch ( file or directory )
void CApprise::addWatch(const std::string &filePath)
    {
        try
        {
            m_fileEventNotifier->addWatch(filePath);
        }
        catch (const std::exception &e)
        {
            throw Exception(e.what());
        }
    }
void CApprise :: addWatch ( const std :: string & filePath ) { try { m_fileEventNotifier -> addWatch ( filePath ) ; } catch ( const std :: exception & e ) { throw Exception ( e . what ( ) ) ; } }
Add watch (file or directory)
Add watch ( file or directory )