diff --git a/modules/softupdt/include/nsWinProfile.h b/modules/softupdt/include/nsWinProfile.h index cba44c726db4..d813432db12e 100644 --- a/modules/softupdt/include/nsWinProfile.h +++ b/modules/softupdt/include/nsWinProfile.h @@ -80,6 +80,7 @@ private: /* Private Methods */ int nativeWriteString( char* section, char* key, char* value ); char* nativeGetString( char* section, char* key ); + PRBool resolvePrivileges(); }; diff --git a/modules/softupdt/include/nsWinReg.h b/modules/softupdt/include/nsWinReg.h index 2550c68b8985..4a8fe6b3cbb7 100644 --- a/modules/softupdt/include/nsWinReg.h +++ b/modules/softupdt/include/nsWinReg.h @@ -80,6 +80,7 @@ private: PRInt32 nativeSetValue(char* subkey, char* valname, nsWinRegValue* value); nsWinRegValue* nativeGetValue(char* subkey, char* valname); + PRBool resolvePrivileges(); }; diff --git a/modules/softupdt/include/nsWinRegItem.h b/modules/softupdt/include/nsWinRegItem.h index c4686f4c6697..b9d70855d84a 100644 --- a/modules/softupdt/include/nsWinRegItem.h +++ b/modules/softupdt/include/nsWinRegItem.h @@ -41,21 +41,15 @@ public: char* valname, void* val); - /** - * Completes the install: - * - writes the data into the .INI file - */ - virtual char* Complete(); - - float GetInstallOrder(); + char* Prepare(void); + + char* Complete(); char* toString(); - // no need for special clean-up void Abort(); - // no need for set-up - virtual char* Prepare(); + float GetInstallOrder(); private: @@ -72,7 +66,9 @@ private: /* Private Methods */ char* keystr(PRInt32 root, char* subkey, char* name); - + + char* itoa(PRInt32 n); + void reverseString(char* s); }; PR_END_EXTERN_C diff --git a/modules/softupdt/include/nsWinRegValue.h b/modules/softupdt/include/nsWinRegValue.h index 2daa4ad171e2..526912df25f8 100644 --- a/modules/softupdt/include/nsWinRegValue.h +++ b/modules/softupdt/include/nsWinRegValue.h @@ -34,8 +34,10 @@ public: PRInt32 data_length; /* Public Methods */ - nsWinRegValue(PRInt32 datatype, void* regdata, PRInt32 len) {type = datatype; data = regdata; data_length = len;} + nsWinRegValue(PRInt32 datatype, void* regdata, PRInt32 len) + {type = datatype; data = regdata; data_length = len;} + /* should we copy the regdata? */ private: /* Private Fields */