////////////////////////////////////////////////// // Blabber [TransportPreferencesView.h] // Presents user preferences for // editing Transport accounts. ////////////////////////////////////////////////// #ifndef TRANSPORT_PREFERENCES_VIEW_H #define TRANSPORT_PREFERENCES_VIEW_H #ifndef __STRING__ #include #endif #ifndef _BOX_H #include #endif #ifndef _BUTTON_H #include #endif #ifndef _MENU_FIELD_H #include #endif #ifndef _MENU_ITEM_H #include #endif #ifndef _POP_UP_MENU_H #include #endif #ifndef _TEXT_CONTROL_H #include #endif #ifndef _TEXT_VIEW_H #include #endif #ifndef _VIEW_H #include #endif class TransportPreferencesView : public BView { public: TransportPreferencesView(BRect frame); virtual ~TransportPreferencesView(); void AttachedToWindow(); void MessageReceived(BMessage *msg); void UpdateFile(); private: BBox *_surrounding; BMenuField *_agent_list; BPopUpMenu *_agent_entries; BTextView *_transport_id_info; BTextControl *_username; BTextControl *_password; BTextView *_registration_notice; BButton *_register; BButton *_unregister; bool _current_transport_registered; std::string _curr_transport; }; #endif