Changeset 519
- Timestamp:
- 06/14/06 15:16:33
- Files:
-
- trunk/libtinymail/tny-account-store-iface.c (modified) (7 diffs)
- trunk/libtinymail/tny-device-iface.c (modified) (4 diffs)
- trunk/libtinymailui/tny-msg-view-iface.c (modified) (2 diffs)
- trunk/libtinymailui/tny-platform-factory-iface.c (modified) (3 diffs)
- trunk/libtinymailui/tny-save-strategy-iface.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libtinymail/tny-account-store-iface.c
r487 r519 49 49 tny_account_store_iface_alert (TnyAccountStoreIface *self, TnyAlertType type, const gchar *prompt) 50 50 { 51 #ifdef DEBUG 52 if (!TNY_ACCOUNT_STORE_IFACE_GET_CLASS (self)->alert_func) 53 g_warning (_("You must implement tny_account_store_iface_alert\n")); 54 #endif 51 55 return TNY_ACCOUNT_STORE_IFACE_GET_CLASS (self)->alert_func (self, type, prompt); 52 56 } … … 61 65 tny_account_store_iface_get_device (TnyAccountStoreIface *self) 62 66 { 67 #ifdef DEBUG 68 if (!TNY_ACCOUNT_STORE_IFACE_GET_CLASS (self)->get_device_func) 69 g_warning (_("You must implement tny_account_store_iface_get_device\n")); 70 #endif 63 71 return TNY_ACCOUNT_STORE_IFACE_GET_CLASS (self)->get_device_func (self); 64 72 } … … 75 83 tny_account_store_iface_get_cache_dir (TnyAccountStoreIface *self) 76 84 { 85 #ifdef DEBUG 86 if (!TNY_ACCOUNT_STORE_IFACE_GET_CLASS (self)->get_cache_dir_func) 87 g_warning (_("You must implement tny_account_store_iface_get_cache_dir\n")); 88 #endif 77 89 return TNY_ACCOUNT_STORE_IFACE_GET_CLASS (self)->get_cache_dir_func (self); 78 90 } … … 90 102 tny_account_store_iface_get_transport_accounts (TnyAccountStoreIface *self) 91 103 { 104 #ifdef DEBUG 105 if (!TNY_ACCOUNT_STORE_IFACE_GET_CLASS (self)->get_transport_accounts_func) 106 g_warning (_("You must implement tny_account_store_iface_get_transport_accounts\n")); 107 #endif 92 108 return TNY_ACCOUNT_STORE_IFACE_GET_CLASS (self)->get_transport_accounts_func (self); 93 109 } … … 105 121 tny_account_store_iface_add_transport_account (TnyAccountStoreIface *self, TnyTransportAccountIface *account) 106 122 { 123 #ifdef DEBUG 124 if (!TNY_ACCOUNT_STORE_IFACE_GET_CLASS (self)->add_transport_account_func) 125 g_warning (_("You must implement tny_account_store_iface_add_transport_account\n")); 126 #endif 107 127 TNY_ACCOUNT_STORE_IFACE_GET_CLASS (self)->add_transport_account_func (self, account); 108 128 return; … … 121 141 tny_account_store_iface_get_store_accounts (TnyAccountStoreIface *self) 122 142 { 143 #ifdef DEBUG 144 if (!TNY_ACCOUNT_STORE_IFACE_GET_CLASS (self)->get_store_accounts_func) 145 g_warning (_("You must implement tny_account_store_iface_get_store_accounts\n")); 146 #endif 123 147 return TNY_ACCOUNT_STORE_IFACE_GET_CLASS (self)->get_store_accounts_func (self); 124 148 } … … 135 159 tny_account_store_iface_add_store_account (TnyAccountStoreIface *self, TnyStoreAccountIface *account) 136 160 { 161 #ifdef DEBUG 162 if (!TNY_ACCOUNT_STORE_IFACE_GET_CLASS (self)->add_store_account_func) 163 g_warning (_("You must implement tny_account_store_iface_add_store_account\n")); 164 #endif 137 165 TNY_ACCOUNT_STORE_IFACE_GET_CLASS (self)->add_store_account_func (self, account); 138 166 return; trunk/libtinymail/tny-device-iface.c
r505 r519 42 42 tny_device_iface_reset (TnyDeviceIface *self) 43 43 { 44 #ifdef DEBUG 45 if (!TNY_DEVICE_IFACE_GET_CLASS (self)->reset_func) 46 g_warning (_("You must implement tny_device_iface_reset\n")); 47 #endif 48 44 49 TNY_DEVICE_IFACE_GET_CLASS (self)->reset_func (self); 45 50 return; … … 55 60 tny_device_iface_force_online (TnyDeviceIface *self) 56 61 { 62 #ifdef DEBUG 63 if (!TNY_DEVICE_IFACE_GET_CLASS (self)->force_online_func) 64 g_warning (_("You must implement tny_device_iface_force_online\n")); 65 #endif 66 57 67 TNY_DEVICE_IFACE_GET_CLASS (self)->force_online_func (self); 58 68 return; … … 68 78 tny_device_iface_force_offline (TnyDeviceIface *self) 69 79 { 80 #ifdef DEBUG 81 if (!TNY_DEVICE_IFACE_GET_CLASS (self)->force_offline_func) 82 g_warning (_("You must implement tny_device_iface_force_offline\n")); 83 #endif 84 70 85 TNY_DEVICE_IFACE_GET_CLASS (self)->force_offline_func (self); 71 86 return; … … 81 96 tny_device_iface_is_online (TnyDeviceIface *self) 82 97 { 98 #ifdef DEBUG 99 if (!TNY_DEVICE_IFACE_GET_CLASS (self)->is_online_func) 100 g_warning (_("You must implement tny_device_iface_is_online\n")); 101 #endif 102 83 103 return TNY_DEVICE_IFACE_GET_CLASS (self)->is_online_func (self); 84 104 } trunk/libtinymailui/tny-msg-view-iface.c
r379 r519 33 33 tny_msg_view_iface_set_save_strategy (TnyMsgViewIface *self, TnySaveStrategyIface *strategy) 34 34 { 35 #ifdef DEBUG 36 if (!TNY_MSG_VIEW_IFACE_GET_CLASS (self)->set_save_strategy_func) 37 g_warning (_("You must implement tny_msg_view_iface_set_save_strategy\n")); 38 #endif 39 35 40 TNY_MSG_VIEW_IFACE_GET_CLASS (self)->set_save_strategy_func (self, strategy); 36 41 return; … … 49 54 tny_msg_view_iface_set_msg (TnyMsgViewIface *self, TnyMsgIface *msg) 50 55 { 56 #ifdef DEBUG 57 if (!TNY_MSG_VIEW_IFACE_GET_CLASS (self)->set_msg_func) 58 g_warning (_("You must implement tny_msg_view_iface_set_msg\n")); 59 #endif 60 51 61 TNY_MSG_VIEW_IFACE_GET_CLASS (self)->set_msg_func (self, msg); 52 62 return; trunk/libtinymailui/tny-platform-factory-iface.c
r408 r519 31 31 tny_platform_factory_iface_new_account_store (TnyPlatformFactoryIface *self) 32 32 { 33 #ifdef DEBUG 34 if (!TNY_PLATFORM_FACTORY_IFACE_GET_CLASS (self)->new_account_store_func) 35 g_warning (_("You must implement tny_platform_factory_iface_new_account_store\n")); 36 #endif 37 33 38 return TNY_PLATFORM_FACTORY_IFACE_GET_CLASS (self)->new_account_store_func (self); 34 39 } … … 43 48 tny_platform_factory_iface_new_device (TnyPlatformFactoryIface *self) 44 49 { 50 #ifdef DEBUG 51 if (!TNY_PLATFORM_FACTORY_IFACE_GET_CLASS (self)->new_device_func) 52 g_warning (_("You must implement tny_platform_factory_iface_new_device\n")); 53 #endif 54 45 55 return TNY_PLATFORM_FACTORY_IFACE_GET_CLASS (self)->new_device_func (self); 46 56 } … … 55 65 tny_platform_factory_iface_new_msg_view (TnyPlatformFactoryIface *self) 56 66 { 67 #ifdef DEBUG 68 if (!TNY_PLATFORM_FACTORY_IFACE_GET_CLASS (self)->new_msg_view_func) 69 g_warning (_("You must implement tny_platform_factory_iface_new_msg_view\n")); 70 #endif 71 57 72 return TNY_PLATFORM_FACTORY_IFACE_GET_CLASS (self)->new_msg_view_func (self); 58 73 } trunk/libtinymailui/tny-save-strategy-iface.c
r379 r519 32 32 tny_save_strategy_iface_save (TnySaveStrategyIface *self, TnyMsgMimePartIface *part) 33 33 { 34 #ifdef DEBUG 35 if (!TNY_SAVE_STRATEGY_IFACE_GET_CLASS (self)->save_func) 36 g_warning (_("You must implement tny_save_strategy_iface_save\n")); 37 #endif 38 34 39 TNY_SAVE_STRATEGY_IFACE_GET_CLASS (self)->save_func (self, part); 35 40 return;
