docs/ikteam: Delete most files.
[haiku.git] / src / preferences / repositories / RepositoriesWindow.h
blob6570c422652ad357a350e050125573cd35bd4ddc
1 /*
2 * Copyright 2017 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Brian Hill
7 */
8 #ifndef REPOSITORIES_WINDOW_H
9 #define REPOSITORIES_WINDOW_H
12 #include <Node.h>
13 #include <Window.h>
15 #include "AddRepoWindow.h"
16 #include "RepositoriesSettings.h"
17 #include "RepositoriesView.h"
20 class RepositoriesWindow : public BWindow {
21 public:
22 RepositoriesWindow();
23 ~RepositoriesWindow();
24 virtual bool QuitRequested();
25 virtual void MessageReceived(BMessage*);
27 private:
28 void _StartWatching();
29 void _StopWatching();
31 RepositoriesSettings fSettings;
32 RepositoriesView* fView;
33 AddRepoWindow* fAddWindow;
34 BMessenger fMessenger;
35 node_ref fPackageNodeRef;
36 // node_ref to watch for changes to package-repositories directory
37 status_t fPackageNodeStatus;
38 bool fWatchingPackageNode;
39 // true when package-repositories directory is being watched
43 #endif