Sha256: d7b2edd645b02711af64ec5940de761c4aaf99d7a157bf3c9b4144bb67a2be5c
Contents?: true
Size: 968 Bytes
Versions: 64
Compression:
Stored size: 968 Bytes
Contents
#pragma once #include "common/RhoStd.h" using namespace rho; #ifdef ENABLE_DYNAMIC_RHOBUNDLE class CAppManager { enum { RRB_NONE_ERR, RRB_LOADING_ERR, RRB_UNZIP_ERR, RRB_REMOVEOLD_ERR, RRB_UPDATE_ERR, RRB_UNKNOWN_ERR }; public: CAppManager (void); ~CAppManager (void); /** * @param szUrl - url of the zip file with rhobundle * @param szZipPassword - zip password if required */ static void ReloadRhoBundle(HWND hwnd, const char* szUrl, const char* szZipPassword); static bool RemoveFolder(String pathname); static bool MoveFolder(const String& pathFrom, const String &pathTo); static bool RestartClient(HWND hwnd); private: static int unzipRhoBundle (const char *zipData, unsigned int zipDataSize, const char *zipPassword, const String &targetPath); static int removeOldRhoBundle (void); static int updateRhoBundle(const String &root_path, const String &from_path); static void showMessage (HWND hWnd, int rrbErrCode); }; #endif
Version data entries
64 entries across 64 versions & 1 rubygems