Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Qt4/QtUIFactory.hpp

    r163110 r08d042  
    1717#include "UIElements/UIFactory.hpp"
    1818
     19#include <boost/thread.hpp>
     20#include <string>
     21#include <vector>
     22
    1923class QApplication;
    2024
     
    3034
    3135  struct description : public UIFactory::factoryDescription {
    32     description();
     36    description(int _argc, char **_argv);
    3337    virtual ~description();
    3438
    3539    virtual UIFactory* makeFactory();
    36   };
     40
     41  private:
     42    int argc;
     43    char **argv;
     44 };
    3745  virtual std::string getUIName(){  return "Qt4";  }
    3846
     47  static bool isTestMode(const char *_argument);
     48
    3949protected:
    40   QtUIFactory();
     50  QtUIFactory(int _argc, char **_argv);
    4151
    4252private:
    43   // faked command line arguments
     53
     54  void testrun(const std::vector<std::string> _scripts, const bool _singleLineStepping = false) const;
     55
     56  void testlauncher_sleep(const boost::posix_time::time_duration& _period) const;
     57
     58private:
     59  QApplication *app;
     60
    4461  int argc;
    4562  char **argv;
    46   QApplication *app;
     63
     64  //!> internal flag to tell testlauncher_thread to stop
     65  mutable bool testlauncher_Interrupted;
     66
     67  //!> internal thread to call Actions
     68  boost::thread *testlauncher_thread;
    4769};
    4870
Note: See TracChangeset for help on using the changeset viewer.