Changeset 2511
- Timestamp:
- 07/27/07 13:42:33
- Files:
-
- devel/pvanhoof/sessionwork/libtinymail-gpe/tny-gpe-account-store.c (modified) (1 diff)
- devel/pvanhoof/sessionwork/libtinymail-gpe/tny-gpe-account-store.h (modified) (1 diff)
- devel/pvanhoof/sessionwork/libtinymail-maemo/tny-maemo-account-store.c (modified) (1 diff)
- devel/pvanhoof/sessionwork/libtinymail-maemo/tny-maemo-account-store.h (modified) (1 diff)
- devel/pvanhoof/sessionwork/libtinymail-olpc/tny-olpc-account-store.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/pvanhoof/sessionwork/libtinymail-gpe/tny-gpe-account-store.c
r2444 r2511 494 494 495 495 496 497 void498 tny_gpe_account_store_add_store_account (TnyGpeAccountStore *self, TnyStoreAccount *account)499 {500 TnyGpeAccountStorePriv *priv = TNY_GPE_ACCOUNT_STORE_GET_PRIVATE (self);501 502 tny_gpe_account_store_notify_remove (TNY_ACCOUNT_STORE (self));503 tny_gpe_account_store_add_account (TNY_ACCOUNT_STORE (self), TNY_ACCOUNT (account), "store");504 tny_gpe_account_store_notify_add (TNY_ACCOUNT_STORE (self));505 506 g_signal_emit (self, tny_account_store_signals [TNY_ACCOUNT_STORE_ACCOUNT_INSERTED], 0, account);507 508 return;509 }510 511 void512 tny_gpe_account_store_add_transport_account (TnyGpeAccountStore *self, TnyTransportAccount *account)513 {514 TnyGpeAccountStorePriv *priv = TNY_GPE_ACCOUNT_STORE_GET_PRIVATE (self);515 516 tny_gpe_account_store_notify_remove (TNY_ACCOUNT_STORE (self));517 tny_gpe_account_store_add_account (TNY_ACCOUNT_STORE (self), TNY_ACCOUNT (account), "transport");518 tny_gpe_account_store_notify_add (TNY_ACCOUNT_STORE (self));519 520 g_signal_emit (self, tny_account_store_signals [TNY_ACCOUNT_STORE_ACCOUNT_INSERTED], 0, account);521 522 return;523 }524 525 496 static TnyDevice* 526 497 tny_gpe_account_store_get_device (TnyAccountStore *self) devel/pvanhoof/sessionwork/libtinymail-gpe/tny-gpe-account-store.h
r1855 r2511 53 53 TnySessionCamel* tny_gpe_account_store_get_session (TnyGpeAccountStore *self); 54 54 55 void tny_gpe_account_store_add_transport_account (TnyGpeAccountStore *self, TnyTransportAccount *account);56 void tny_gpe_account_store_add_store_account (TnyGpeAccountStore *self, TnyStoreAccount *account);57 58 55 G_END_DECLS 59 56 devel/pvanhoof/sessionwork/libtinymail-maemo/tny-maemo-account-store.c
r2444 r2511 499 499 500 500 501 void502 tny_maemo_account_store_add_store_account (TnyMaemoAccountStore *self, TnyStoreAccount *account)503 {504 tny_maemo_account_store_notify_remove (TNY_ACCOUNT_STORE (self));505 tny_maemo_account_store_add_account (TNY_ACCOUNT_STORE (self), TNY_ACCOUNT (account), "store");506 tny_maemo_account_store_notify_add (TNY_ACCOUNT_STORE (self));507 508 g_signal_emit (self, tny_account_store_signals [TNY_ACCOUNT_STORE_ACCOUNT_INSERTED], 0, account);509 510 return;511 }512 513 void514 tny_maemo_account_store_add_transport_account (TnyAccountStore *self, TnyTransportAccount *account)515 {516 tny_maemo_account_store_notify_remove (TNY_ACCOUNT_STORE (self));517 tny_maemo_account_store_add_account (TNY_ACCOUNT_STORE (self), TNY_ACCOUNT (account), "transport");518 tny_maemo_account_store_notify_add (TNY_ACCOUNT_STORE (self));519 520 g_signal_emit (self, tny_account_store_signals [TNY_ACCOUNT_STORE_ACCOUNT_INSERTED], 0, account);521 522 return;523 }524 525 501 static TnyDevice* 526 502 tny_maemo_account_store_get_device (TnyAccountStore *self) devel/pvanhoof/sessionwork/libtinymail-maemo/tny-maemo-account-store.h
r1855 r2511 54 54 TnySessionCamel* tny_maemo_account_store_get_session (TnyMaemoAccountStore *self); 55 55 56 void tny_maemo_account_store_add_store_account (TnyMaemoAccountStore *self, TnyStoreAccount *account);57 void tny_maemo_account_store_add_transport_account (TnyAccountStore *self, TnyTransportAccount *account);58 59 56 G_END_DECLS 60 57 devel/pvanhoof/sessionwork/libtinymail-olpc/tny-olpc-account-store.h
r1855 r2511 53 53 TnySessionCamel* tny_olpc_account_store_get_session (TnyOlpcAccountStore *self); 54 54 55 void tny_olpc_account_store_add_store_account (TnyOlpcAccountStore *self, TnyStoreAccount *account);56 void tny_olpc_account_store_add_transport_account (TnyOlpcAccountStore *self, TnyTransportAccount *account);57 58 55 G_END_DECLS 59 56
