[messaging] Move folder-related code to message_folder. 12/219012/7
authorMichal Michalski <m.michalski2@partner.samsung.com>
Fri, 29 Nov 2019 14:01:02 +0000 (15:01 +0100)
committerMichal Michalski <m.michalski2@partner.samsung.com>
Fri, 6 Dec 2019 08:29:13 +0000 (09:29 +0100)
commitb82e323cce09ea6a5ea28bd22a1c44eaa8b96b99
treebdb0923db6b868f145e69a43a43e96ccad789f4e
parentbb2d7776262070919465ef0749739455bad0b915
[messaging] Move folder-related code to message_folder.

+ Moved FindFolderTaskParams to message_folder.h
+ Moved filterFolders() from folders_changed_callback to message_folder.
+ Moved MESSAGE_FOLDER_ATTRTIBUTE_* constants to message_folder.cc
+ Remove FolderPtr typedef.
+ Remove unneccessary extern declarations.

[Verification] Code compiles.

Signed-off-by: Michal Michalski <m.michalski2@partner.samsung.com>
Change-Id: I5289f7f0e9e84ec71bf92031e5c5c56b2cb65df6
src/messaging/email_manager.cc
src/messaging/folders_change_callback.cc
src/messaging/folders_change_callback.h
src/messaging/message_folder.cc
src/messaging/message_folder.h
src/messaging/messaging_util.cc
src/messaging/messaging_util.h