| 286 | } |
| 287 | |
| 288 | class Filler { |
| 289 | public: |
| 290 | Filler( |
| 291 | not_null<SessionController*> controller, |
| 292 | Dialogs::EntryState request, |
| 293 | const PeerMenuCallback &addAction); |
| 294 | void fill(); |
| 295 | |
| 296 | private: |
| 297 | using Section = Dialogs::EntryState::Section; |
| 298 | |
| 299 | void fillChatsListActions(); |
| 300 | void fillHistoryActions(); |
| 301 | void fillProfileActions(); |
| 302 | void fillRepliesActions(); |
| 303 | void fillScheduledActions(); |
| 304 | void fillArchiveActions(); |
| 305 | void fillSavedSublistActions(); |
| 306 | void fillContextMenuActions(); |
| 307 | void fillMonoforumPeerActions(); |
| 308 | |
| 309 | void addHidePromotion(); |
| 310 | void addTogglePin(); |
| 311 | void addToggleMuteSubmenu(bool addSeparator); |
| 312 | void addSupportInfo(); |
| 313 | void addInfo(); |
| 314 | void addStoryArchive(); |
| 315 | void addNewWindow(bool addSeparator = true); |
| 316 | void addToggleFolder(); |
| 317 | void addToggleUnreadMark(); |
| 318 | void addToggleArchive(); |
| 319 | void addClearHistory(); |
| 320 | void addDeleteChat(); |
| 321 | void addLeaveChat(); |
| 322 | void addJoinChat(); |
| 323 | void addTopicLink(); |
| 324 | void addManageTopic(); |
| 325 | void addManageChat(); |
| 326 | void addCreatePoll(); |
| 327 | void addCreateTodoList(); |
| 328 | void addThemeEdit(); |
| 329 | void addToggleNoForwards(); |
| 330 | void addBlockUser(); |
| 331 | void addViewDiscussion(); |
| 332 | void addDirectMessages(); |
| 333 | void addToggleTopicClosed(); |
| 334 | void addExportChat(); |
| 335 | void addTranslate(); |
| 336 | void addReport(); |
| 337 | void addNewContact(); |
| 338 | void addShareContact(); |
| 339 | void addEditContact(); |
| 340 | void addBotToGroup(); |
| 341 | void addNewMembers(); |
| 342 | void addDeleteContact(); |
| 343 | void addTTLSubmenu(bool addSeparator); |
| 344 | void addSendGift(); |
| 345 | void addPinnedMessages(); |
no outgoing calls
no test coverage detected