~registry/dolphin-emu/triforce

« back to all changes in this revision

Viewing changes to Externals/wxWidgets3/include/wx/unix/fswatcher_inotify.h

  • Committer: Sérgio Benjamim
  • Date: 2015-02-13 05:54:40 UTC
  • Revision ID: sergio_br2@yahoo.com.br-20150213055440-ey2rt3sjpy27km78
Dolphin Triforce branch from code.google, commit b957980 (4.0-315).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/////////////////////////////////////////////////////////////////////////////
 
2
// Name:        wx/unix/fswatcher_inotify.h
 
3
// Purpose:     wxInotifyFileSystemWatcher
 
4
// Author:      Bartosz Bekier
 
5
// Created:     2009-05-26
 
6
// Copyright:   (c) 2009 Bartosz Bekier <bartosz.bekier@gmail.com>
 
7
// Licence:     wxWindows licence
 
8
/////////////////////////////////////////////////////////////////////////////
 
9
 
 
10
#ifndef _WX_FSWATCHER_UNIX_H_
 
11
#define _WX_FSWATCHER_UNIX_H_
 
12
 
 
13
#include "wx/defs.h"
 
14
 
 
15
#if wxUSE_FSWATCHER
 
16
 
 
17
class WXDLLIMPEXP_BASE wxInotifyFileSystemWatcher :
 
18
        public wxFileSystemWatcherBase
 
19
{
 
20
public:
 
21
    wxInotifyFileSystemWatcher();
 
22
 
 
23
    wxInotifyFileSystemWatcher(const wxFileName& path,
 
24
                               int events = wxFSW_EVENT_ALL);
 
25
 
 
26
    virtual ~wxInotifyFileSystemWatcher();
 
27
 
 
28
    void OnDirDeleted(const wxString& path);
 
29
 
 
30
protected:
 
31
    bool Init();
 
32
};
 
33
 
 
34
#endif
 
35
 
 
36
#endif /* _WX_FSWATCHER_UNIX_H_ */