d8d89d245e
Room flags (e.g., whether or not to auto-join, whether notifications should be sent on message receive) can now be toggled through a room's right-click menu in the room-list. Two new room flags were added for notifications as well― ROOM_NOTIFY_DM and ROOM_NOTIFY_ALL. If ROOM_NOTIFY_DM is enabled, the user will receive notifications if they are in a one-on-one chat. If ROOM_NOTIFY_ALL, they will receive notifications on every message sent to the room. The default menu items for the room's pop-up menu were moved from Templates.rdef to be built into the app. Everything else in Templates.rdef should follow suit― B_TRANSLATE can't be used in rdef files!
75 lines
1.7 KiB
C
75 lines
1.7 KiB
C
/*
|
|
* Copyright 2010-2011, Pier Luigi Fiorini. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _APP_MESSAGES_H
|
|
#define _APP_MESSAGES_H
|
|
|
|
//! Show settings window
|
|
const uint32 APP_SHOW_SETTINGS = 'RPST';
|
|
|
|
//! Show accounts window
|
|
const uint32 APP_SHOW_ACCOUNTS = 'RPac';
|
|
|
|
//! Chat messages
|
|
const uint32 APP_CHAT = 'CYch';
|
|
|
|
//! Create a new chat
|
|
const uint32 APP_NEW_CHAT = 'CYnc';
|
|
|
|
//! Create a new chat
|
|
const uint32 APP_NEW_ROOM = 'CYnr';
|
|
|
|
//! Join a chat
|
|
const uint32 APP_JOIN_ROOM = 'CYjr';
|
|
|
|
//! Invite user to current chat
|
|
const uint32 APP_SEND_INVITE = 'CYin';
|
|
|
|
//! Send replicant's messenger to the app
|
|
const uint32 APP_REPLICANT_MESSENGER = 'RPme';
|
|
|
|
//! Status notification from the replicant
|
|
const uint32 APP_REPLICANT_STATUS_SET = 'RPMS';
|
|
|
|
//! Exit notification from replicant
|
|
const uint32 APP_REPLICANT_EXIT = 'RPEX';
|
|
|
|
//! Show main window replicant notification
|
|
const uint32 APP_REPLICANT_SHOW_WINDOW = 'CYSW';
|
|
|
|
//! Select the upward conversation
|
|
const uint32 APP_MOVE_UP = 'CYmu';
|
|
|
|
//! Select the downward conversation
|
|
const uint32 APP_MOVE_DOWN = 'CYmd';
|
|
|
|
//! An account has been disabled
|
|
const uint32 APP_ACCOUNT_DISABLED = 'Axwo';
|
|
|
|
//! An account's initial connection failed
|
|
const uint32 APP_ACCOUNT_FAILED = 'Axwx';
|
|
|
|
//! Request a "help" message
|
|
const uint32 APP_REQUEST_HELP = 'CYhm';
|
|
|
|
//! Display a "user info" window
|
|
const uint32 APP_USER_INFO = 'CYuw';
|
|
|
|
//! Display a "room info" window
|
|
const uint32 APP_ROOM_INFO = 'CYrw';
|
|
|
|
//! Toggle a specific flag for a room
|
|
const uint32 APP_ROOM_FLAG = 'Rlag';
|
|
|
|
//! Edit the contact roster
|
|
const uint32 APP_EDIT_ROSTER = 'CYer';
|
|
|
|
//! Edit a specific account
|
|
const uint32 APP_EDIT_ACCOUNT = 'CYea';
|
|
|
|
//! Toggle a specific account
|
|
const uint32 APP_TOGGLE_ACCOUNT = 'CYta';
|
|
|
|
#endif // _APP_MESSAGES_H
|