Ported Java to C++ header files

This commit is contained in:
amusil%netscape.com 1998-09-16 20:47:01 +00:00
parent eed4cc2824
commit fc48b58ad2
4 changed files with 12 additions and 12 deletions

View File

@ -80,6 +80,7 @@ private:
/* Private Methods */
int nativeWriteString( char* section, char* key, char* value );
char* nativeGetString( char* section, char* key );
PRBool resolvePrivileges();
};

View File

@ -80,6 +80,7 @@ private:
PRInt32 nativeSetValue(char* subkey, char* valname, nsWinRegValue* value);
nsWinRegValue* nativeGetValue(char* subkey, char* valname);
PRBool resolvePrivileges();
};

View File

@ -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

View File

@ -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 */