0ffe3e5ce8
CreateAccountMenu() is used to populate a BMenu with items corresponding to the map of accounts provided to it― but when an account is disabled or enabled, it can't update automatically. A dedicated class, fAccountsMenu, now replaces it― it'll automatically repopulate the list whenever the active accounts update.
27 lines
447 B
C
27 lines
447 B
C
/*
|
|
* Copyright 2009-2011, Andrea Anzani. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _NOTIFY_MESSAGE_H
|
|
#define _NOTIFY_MESSAGE_H
|
|
|
|
enum {
|
|
STR_CONTACT_NAME,
|
|
STR_PERSONAL_STATUS,
|
|
STR_ROOM_NAME,
|
|
STR_ROOM_SUBJECT,
|
|
|
|
PTR_AVATAR_BITMAP,
|
|
|
|
INT_ACCOUNT_STATUS,
|
|
INT_CONTACT_STATUS,
|
|
INT_USER_PERMS,
|
|
INT_NEW_MESSAGE,
|
|
INT_NEW_MENTION,
|
|
|
|
INT_WINDOW_FOCUSED,
|
|
INT_ACCOUNTS_UPDATED
|
|
};
|
|
|
|
#endif // _NOTIFY_MESSAGE_H
|