RetroZilla/profile/pref-migrator/public/idl/prefm.idl

71 lines
1.1 KiB
Plaintext
Raw Normal View History

2015-10-21 05:03:22 +02:00
interface Prefm
{
/* IID: { 0xc29db6a1, 0xd195, 0x11d2, \
{0xbc, 0xf1, 0x00, 0x80, 0x5f, 0x0e, 0x13, 0x53}}
/* error codes */
const int PMERR_NO_4X_ON_SYSTEM = -200;
const int PMERR_GESTALT_UNKNOWN_ERR = -5550;
const int PMERR_GESTALT_INVALID_ARGUMENT = -5551;
const int PM_SUCCESS = 0;
/* message IDs*/
const int PM_ALEADY_UPDATED = 0;
/* 4.x and 5.x file names */
const char* PM_USER_PREFS_FILE_4 = "prefs.js";
const char* PM_USER_PREFS_FILE_5 = "prefs5.js";
const char* PM_COMMUNICATOR_PREFS_FILE_4 = "netscape.cfg";
const char* PM_COMMUNICATOR_PREFS_FILE_5 = "netscape5.cfg";
const char* PM_REGFILE_4 = "nsreg.dat";
const char* PM_REGFILE_5 = "nsreg5.dat";
readonly attribute wstring com4xPath;
readonly attribute wstring com5xPath;
readonly attribute wstring userProfilePath;
readonly attribute wstring systemPath;
void Prefm();
long SetPrefFilePaths(in wstring systemType,
in wstring com5xPath,
in wstring userProfilePath);
};