jared | a954181 | 2013-01-09 00:08:46 -0800 | [diff] [blame] | 1 | #include "filesystemwatcher.h" |
| 2 | #include <QApplication> |
| 3 | |
| 4 | int main(int argc, char *argv[]) |
| 5 | { |
| 6 | QApplication app(argc, argv); |
| 7 | |
| 8 | // invoke file system watcher on specified path |
Jared Lindblom | 4d1d00a | 2013-01-11 01:14:23 -0800 | [diff] [blame] | 9 | FileSystemWatcher watcher("/Users/jared/Desktop"); |
jared | a954181 | 2013-01-09 00:08:46 -0800 | [diff] [blame] | 10 | watcher.show(); |
Jared Lindblom | 4d1d00a | 2013-01-11 01:14:23 -0800 | [diff] [blame] | 11 | |
jared | a954181 | 2013-01-09 00:08:46 -0800 | [diff] [blame] | 12 | return app.exec(); |
| 13 | } |