* src/modest-tny-attachment.h:
authorSergio Villar Senin <svillar@igalia.com>
Mon, 6 Nov 2006 11:50:00 +0000 (11:50 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Mon, 6 Nov 2006 11:50:00 +0000 (11:50 +0000)
commit1d54dd2435d706f0f82d2a81cd00c1410832a241
treed1946f5e9042606f725aac4f82dd5a94fdb53efb
parentfd0987fe062d13dcd572a0f1bb9787a5edda1f7a
* src/modest-tny-attachment.h:
* src/modest-tny-attachment.c:
(modest_tny_attachment_get_stream): replaced TnyStreamIface with TnyStream

* src/gtk/modest-account-view-window.h:
* src/gtk/modest-account-view-window.c: removed the ModestAccountMgr
from the private structure. Added some platform factory needed calls.
(modest_account_view_window_new): removed account manager from the
method signature

* src/gtk/modest-ui.h:
* src/gtk/modest-ui.c: removed ModestAccountMgr and
ModestTnyAccountStore from the private structure.
(modest_ui_new): removed ModestConf from the method signature. Added
some calls to the platform factory

* src/gtk/modest-edit-msg-window.h:
* src/gtk/modest-edit-msg-window.c: removed ModestConf from the
private structure. Added ModestPlatformFactory to it.
(send_mail): added some code just for testing purposes for sending mail
(modest_edit_msg_window_new): modified method signature

* src/gtk/modest-main-window.h:
* src/gtk/modest-main-window.c: added the platform factory to the
private structure. Change in the name of the widget factory. Removed
ModestConf and ModestAccountMgr from it.
(modest_main_window_new): removed ModestConf and ModestAccountMgr from
the method signature. Added some calls to the platform factory

* src/modest-tny-platform-factory.h:
* src/modest-tny-platform-factory.c: New files in the repository

* src/modest-mail-operation.h:
* src/modest-mail-operation.c: New files in the repository

* src/modest-main.c: Added some calls to the platform factory
(start_ui): modified method signature, removed ModestConf
(send_mail): modified method signature, removed ModestConf

* src/modest-widget-factory.h:
* src/modest-widget-factory.c: replaced ModestTnyAccountStore by
TnyAccountStore, Removed ModestConf and ModestAccountMgr from the
private structure. Added the platform factory.
(modest_widget_factory_new (): modified method signature, removed all
attributes.

* src/modest-tny-account-store.c: replaced a call to the GNOME factory
by a call to Modest factory

* src/Makefile.am: added the new files

pmo-trunk-r481
19 files changed:
src/Makefile.am
src/gtk/modest-account-view-window.c
src/gtk/modest-account-view-window.h
src/gtk/modest-edit-msg-window.c
src/gtk/modest-edit-msg-window.h
src/gtk/modest-main-window.c
src/gtk/modest-main-window.h
src/gtk/modest-ui.c
src/modest-mail-operation.c [new file with mode: 0644]
src/modest-mail-operation.h [new file with mode: 0644]
src/modest-main.c
src/modest-tny-account-store.c
src/modest-tny-attachment.c
src/modest-tny-attachment.h
src/modest-tny-platform-factory.c [new file with mode: 0644]
src/modest-tny-platform-factory.h [new file with mode: 0644]
src/modest-ui.h
src/modest-widget-factory.c
src/modest-widget-factory.h