1 /* 2 * Copyright 2012, Adrien Destugues, pulkomandy@gmail.com 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 private: 25 TermView* fTermView; 26 BMenu* fConnectionMenu; 27 BMenu* fDatabitsMenu; 28 BMenu* fStopbitsMenu; 29 BMenu* fParityMenu; 30 BMenu* fFlowcontrolMenu; 31 BMenu* fBaudrateMenu; 32 BFilePanel* fLogFilePanel; 33 34 static const int kBaudrates[]; 35 static const int kBaudrateConstants[]; 36 static const char* kWindowTitle; 37 }; 38