Renga/support/Preferences.h

38 lines
700 B
C++

#ifndef PREFERENCES_H
#define PREFERENCES_H
class WindowPreferences : public BArchivable
{
public:
WindowPreferences(BString path);
~WindowPreferences()
status_t Save(BString path);
BPoint fLastWindowPosition;
BRect fLastWindowRect;
// What does this do?
//bool fEnableDoubleClick;
bool fEnableTimestamp;
}
class AccountPreferences : public BArchivable {
public:
WindowPreferences(BString path);
~WindowPreferences()
status_t Save(BString path);
BString fKeyStoreName;
BString fStatus;
BString fStatusMessage;
BString fRealName;
bool fAutoLogin;
// UI Defaults
BString fLastGroupJoined;
BString fLastTalkSendTo;
BString fLastGroupUsername;
}
#endif