- Timestamp:
- Apr 23, 2013 5:33:59 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/bb10/src/applicationui.h
r4473 r4485 5 5 #include <QObject> 6 6 7 #include "../../pjsua_app.h" 8 7 9 namespace bb { namespace cascades { class Application; }} 8 9 class CliThread;10 10 11 11 /*! … … 24 24 static ApplicationUI *instance(); 25 25 26 /* Write msg to label (from different thread) */ 27 static void extDisplayMsg(const char *msg); 28 29 /* Restart request (from different thread) */ 30 void extRestartRequest(int argc, char **argv); 31 26 32 public slots: 27 33 void aboutToQuit(); 28 34 35 Q_INVOKABLE void restartPjsua(); 29 36 Q_INVOKABLE void displayMsg(const QString &msg); 30 37 31 38 private: 32 CliThread *cliThread;33 39 static ApplicationUI *instance_; 40 char **restartArgv; 41 int restartArgc; 42 43 /* pjsua main operations */ 44 void pjsuaStart(); 45 void pjsuaDestroy(); 46 47 /* pjsua app callbacks */ 48 static void pjsuaOnStartedCb(pj_status_t status, const char* msg); 49 static pj_bool_t pjsuaOnStoppedCb(pj_bool_t restart, int argc, char** argv); 50 static void pjsuaOnAppConfigCb(pjsua_app_config *cfg); 34 51 }; 35 52
Note: See TracChangeset
for help on using the changeset viewer.