btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / text_search / GrepApp.h
blob07cb309b7502642e4b2e746a04ce8a5bda4e2c42
1 /*
2 * Copyright (c) 1998-2007 Matthijs Hollemans
3 * All rights reserved. Distributed under the terms of the MIT License.
4 */
5 #include <Application.h>
6 #include <MessageRunner.h>
8 #ifndef GREP_APP_H
9 #define GREP_APP_H
11 class GrepApp : public BApplication {
12 public:
13 GrepApp();
14 virtual ~GrepApp();
16 virtual void ArgvReceived(int32 argc, char** argv);
17 virtual void RefsReceived(BMessage* message);
18 virtual void MessageReceived(BMessage* message);
19 virtual void ReadyToRun();
21 private:
22 void _TryQuit();
23 void _NewUnfocusedGrepWindow();
25 bool fGotArgvOnStartup;
26 bool fGotRefsOnStartup;
28 BMessageRunner* fQuitter;
31 #endif // GREP_APP_H