Changeset 5066 in ntrip for trunk/BNC/src/bncapp.h


Ignore:
Timestamp:
Mar 30, 2013, 11:31:00 AM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncapp.h

    r4447 r5066  
    3636class bncTableItem;
    3737
    38 class bncApp : public QApplication {
     38class t_pgmCore : public QObject {
    3939  Q_OBJECT
    4040
     
    4444  public:
    4545    enum e_mode {interactive, nonInteractive, batchPostProcessing};
    46     bncApp(int& argc, char* argv[], bool GUIenabled);
    47     virtual ~bncApp(); 
     46    t_pgmCore(int& argc, char* argv[], bool GUIenabled);
     47    virtual ~t_pgmCore(); 
    4848    e_mode mode() const {return _mode;}
    4949    void   setMode(e_mode mode) {_mode = mode;}
     
    6565    void setMainWindow(QWidget* mainWindow){_mainWindow = mainWindow;}
    6666    bool GUIenabled() const {return _GUIenabled;}
    67   protected:
    68     virtual bool event(QEvent* ev);
    6967
    7068  public slots:
     
    143141    QMap<int, bncTableItem*> _uploadTableItems;
    144142};
     143
     144extern t_pgmCore* PGM_CORE;
     145
    145146#endif
Note: See TracChangeset for help on using the changeset viewer.