1 /* 2 * Copyright 2012-2014, Adrien Destugues, pulkomandy@pulkomandy.tk 3 * Distributed under the terms of the MIT licence. 4 */ 5 6 7 #include <Window.h> 8 9 10 class BFilePanel; 11 class BMenu; 12 class TermView; 13 14 15 class SerialWindow: public BWindow 16 { 17 public: 18 SerialWindow(); 19 ~SerialWindow(); 20 21 void MenusBeginning(); 22 void MessageReceived(BMessage* message); 23 24 25 private: 26 TermView* fTermView; 27 28 BMenu* fConnectionMenu; 29 BMenu* fDatabitsMenu; 30 BMenu* fStopbitsMenu; 31 BMenu* fParityMenu; 32 BMenu* fFlowcontrolMenu; 33 BMenu* fBaudrateMenu; 34 BFilePanel* fLogFilePanel; 35 36 static const int kBaudrates[]; 37 static const int kBaudrateConstants[]; 38 static const char* kWindowTitle; 39 }; 40