2021-06-15 21:05:21 -05:00
|
|
|
/*
|
|
|
|
* Copyright 2021, Jaidyn Levesque <jadedctrl@teknik.io>
|
|
|
|
* All rights reserved. Distributed under the terms of the MIT license.
|
|
|
|
*/
|
|
|
|
#ifndef DEFAULTITEMS_H
|
|
|
|
#define DEFAULTITEMS_H
|
|
|
|
|
|
|
|
#include <ObjectList.h>
|
|
|
|
|
2021-06-15 23:29:38 -05:00
|
|
|
class BLooper;
|
|
|
|
class BMessage;
|
|
|
|
|
2021-06-15 21:05:21 -05:00
|
|
|
|
2021-06-15 23:29:38 -05:00
|
|
|
void DefaultCommands(BLooper* target);
|
2021-06-16 04:33:06 -05:00
|
|
|
void DefaultChatPopUpItems(BLooper* target);
|
2021-06-15 23:29:38 -05:00
|
|
|
void DefaultUserPopUpItems(BLooper* target);
|
2021-06-15 21:05:21 -05:00
|
|
|
BMessage* _UserMenuItem(const char* label, BMessage* msg,
|
|
|
|
int32 user_perms, int32 target_perms,
|
|
|
|
int32 target_lacks, bool ignorePriority,
|
|
|
|
bool toProtocol);
|
|
|
|
|
|
|
|
|
|
|
|
#endif // DEFAULTITEMS_H
|