00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef BDIALOG_H
00013 #define BDIALOG_H
00014
00015
00016
00017
00018
00019 #include "BWidget.h"
00020 #include "BScreen.h"
00021 #include "BRunLoop.h"
00022
00031 class BDialog:
00032 public BWidget
00033 {
00034 public:
00036 BDialog(BScreen* screen, const BSize& size);
00037 virtual ~BDialog();
00038
00040 void center();
00041
00043 virtual void run();
00044
00046 virtual void stop();
00047
00048 protected:
00049 BRunLoop* _loop;
00050 };
00051
00052 #endif