2 * Copyright 2017 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
8 #ifndef REPOSITORIES_WINDOW_H
9 #define REPOSITORIES_WINDOW_H
15 #include "AddRepoWindow.h"
16 #include "RepositoriesSettings.h"
17 #include "RepositoriesView.h"
20 class RepositoriesWindow
: public BWindow
{
23 ~RepositoriesWindow();
24 virtual bool QuitRequested();
25 virtual void MessageReceived(BMessage
*);
28 void _StartWatching();
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