BTRFS: Implement BTree::Path and change _Find.
[haiku.git] / src / add-ons / network_settings / dialup / InterfaceUtils.h
blob5c958463db1f5026233ad9aed09bfa33f38eebb4
1 /*
2 * Copyright 2003-2004 Waldemar Kornewald. All rights reserved.
3 * Copyright 2017 Haiku, Inc. All rights reserved.
4 * Distributed under the terms of the MIT License.
5 */
6 #ifndef _INTERFACE_UTILS__H
7 #define _INTERFACE_UTILS__H
9 #include <SupportDefs.h>
10 #include <Point.h>
12 class DialUpAddon;
13 class BListView;
14 class BMenu;
15 class BString;
16 class BMenu;
17 class BWindow;
18 class BMessage;
21 extern BPoint center_on_screen(BRect rect, BWindow *window = NULL);
22 extern int32 FindNextMenuInsertionIndex(BMenu *menu, const char *name,
23 int32 index = 0);
24 extern int32 FindNextListInsertionIndex(BListView *list, const char *name);
25 extern void AddAddonsToMenu(const BMessage *source, BMenu *menu, const char *type,
26 uint32 what);
29 #endif