mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Ported Java to C++ header files
This commit is contained in:
parent
eed4cc2824
commit
fc48b58ad2
@ -80,6 +80,7 @@ private:
|
||||
/* Private Methods */
|
||||
int nativeWriteString( char* section, char* key, char* value );
|
||||
char* nativeGetString( char* section, char* key );
|
||||
PRBool resolvePrivileges();
|
||||
|
||||
};
|
||||
|
||||
|
@ -80,6 +80,7 @@ private:
|
||||
|
||||
PRInt32 nativeSetValue(char* subkey, char* valname, nsWinRegValue* value);
|
||||
nsWinRegValue* nativeGetValue(char* subkey, char* valname);
|
||||
PRBool resolvePrivileges();
|
||||
|
||||
};
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user