da8305456c
* NEW: Rename the PathWatch class to Watch. * NEW: Generalise the events raised by the class for future portability. * NEW: Add static properties Name, IsDir, Unmount and Cookie and remove the corresponding event handler arguments. * NEW: Do not automatically reference a Watch anymore to keep it sane. * BUG: Automatic detection of watch events works now (#6115). * BUG: Invalidate Watch objects when the kernel tells us to. * BUG: Don't enter an infinite loop if some event bits are not recognised. * OPT: Use hash tables to improve lookups. git-svn-id: svn://localhost/gambas/trunk@6147 867c0c6c-44f3-4631-809d-bfa615b0a4ec
34 lines
993 B
C
34 lines
993 B
C
/*
|
|
* c_watch.h
|
|
*
|
|
* Copyright (C) 2013, 2014 Tobias Boege <tobias@gambas-buch.de>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 1, or (at your option)
|
|
* any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
* MA 02110-1301, USA.
|
|
*/
|
|
|
|
#ifndef __C_WATCH_H
|
|
#define __C_WATCH_H
|
|
|
|
#include "gambas.h"
|
|
|
|
extern GB_INTERFACE GB;
|
|
|
|
#ifndef __C_WATCH_C
|
|
extern GB_DESC CWatch[];
|
|
extern GB_DESC CWatchEvents[];
|
|
#endif
|
|
|
|
#endif /* __C_WATCH_H */
|