platform/shared/common/RhodesApp.h in rhodes-2.3.2 vs platform/shared/common/RhodesApp.h in rhodes-2.4.0.beta.1
- old
+ new
@@ -31,10 +31,11 @@
String m_strListeningPorts;
common::CAutoPtr<net::CHttpServer> m_httpServer;
CSplashScreen m_oSplashScreen;
CAppMenu m_oAppMenu;
+ CRhoTimer m_oTimer;
String m_strLoadingPagePath, m_strLoadingPngPath;
String m_strStartUrl, m_strOptionsUrl, m_strRhobundleReloadUrl;//, m_strFirstStartUrl;
static String m_strStartParameters;
String m_strRhoMessage;
@@ -75,11 +76,10 @@
const String& getRhobundleReloadUrl();
const String& getBaseUrl();
const String& getStartUrl();
const String& getOptionsUrl();
const String& getCurrentUrl(int index = 0);
- //const String& getFirstStartUrl();
boolean isOnStartPage();
const String& getLoadingPngPath(){return m_strLoadingPngPath;}
const String& getLoadingPagePath(){return m_strLoadingPagePath; }
@@ -98,13 +98,15 @@
void callBluetoothCallback(String strCallbackUrl, const char* body);
void callAppActiveCallback(boolean bActive);
void callUiCreatedCallback();
void callUiDestroyedCallback();
void callPopupCallback(String strCallbackUrl, const String &id, const String &title);
+ boolean callTimerCallback(const String& strUrl, const String& strData);
CAppMenu& getAppMenu (void) { return m_oAppMenu; }
CSplashScreen& getSplashScreen(){return m_oSplashScreen;}
+ CRhoTimer& getTimer(){ return m_oTimer; }
boolean sendLog();
String addCallbackObject(ICallbackObject* pCallbackObject, String strName);
unsigned long getCallbackObject(int nIndex);
@@ -154,9 +156,10 @@
void rho_rhodesapp_keeplastvisitedurl(const char* szUrl);
const char* rho_rhodesapp_getcurrenturl(int tabindex);
const char* rho_rhodesapp_getloadingpagepath();
const char* rho_rhodesapp_getblobsdirpath();
+const char* rho_rhodesapp_getapprootpath();
void rho_http_redirect(void* httpContext, const char* szUrl);
void rho_http_senderror(void* httpContext, int nError, const char* szMsg);
void rho_http_sendresponse(void* httpContext, const char* szBody);
int rho_http_snprintf(char *buf, size_t buflen, const char *fmt, ...);