BlackBerryGlobal.h [plain text]
#ifndef BlackBerryGlobal_h
#define BlackBerryGlobal_h
#if defined(__QNXNTO__) && defined(BUILD_WEBKIT)
#define BLACKBERRY_EXPORT __attribute__ ((visibility("default")))
#else
#define BLACKBERRY_EXPORT
#endif
namespace BlackBerry {
namespace Platform {
class String;
}
namespace WebKit {
BLACKBERRY_EXPORT void globalInitialize();
void collectJavascriptGarbageNow();
void clearCookieCache();
BLACKBERRY_EXPORT void clearMemoryCaches();
void clearAppCache(const BlackBerry::Platform::String& pageGroupName);
void reopenAllAppCaches();
void closeAllAppCaches();
void clearDatabase(const BlackBerry::Platform::String& pageGroupName);
void reopenAllTrackerDatabases();
void closeAllTrackerDatabases();
void updateOnlineStatus(bool online);
bool isRunningDrt();
}
}
#endif // BlackBerryGlobal_h