/* * Copyright 2008-09, Oliver Ruiz Dorantes, * All rights reserved. Distributed under the terms of the MIT License. */ #ifndef REMOTE_DEVICES_VIEW_H_ #define REMOTE_DEVICES_VIEW_H_ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class RemoteDevicesView : public BView { public: RemoteDevicesView(const char *name, uint32 flags); ~RemoteDevicesView(void); void AttachedToWindow(void); void MessageReceived(BMessage *msg); void LoadSettings(void); bool IsDefaultable(void); protected: void SetCurrentColor(rgb_color color); void UpdateControls(); void UpdateAllColors(); BButton* addButton; BButton* removeButton; BButton* pairButton; BButton* disconnectButton; BButton* blockButton; BButton* availButton; BListView* fDeviceList; BScrollView* fScrollView; }; #endif