1 /* 2 * Copyright 2016, Adrien Destugues, pulkomandy@pulkomandy.tk 3 * Distributed under terms of the MIT license. 4 */ 5 6 7 #ifndef CUSTOMRATEWINDOW_H 8 #define CUSTOMRATEWINDOW_H 9 10 11 #include <Window.h> 12 13 14 class BSpinner; 15 16 17 class CustomRateWindow: public BWindow 18 { 19 public: 20 CustomRateWindow(int baudrate); 21 void MessageReceived(BMessage* message); 22 23 private: 24 BSpinner* fSpinner; 25 }; 26 27 28 #endif /* !CUSTOMRATEWINDOW_H */ 29