Changeset 3304

Show
Ignore:
Timestamp:
01/28/08 23:13:05
Author:
pvanhoof
Message:

2008-01-28 Philip Van Hoof <pvanhoof@gnome.org>

        • Removed the _func from all the interfaces and virtual function

pointers in the classes. This should not be an ABI but is an API
change.

        • This was a major API change
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r3302 r3304  
     12008-01-28  Philip Van Hoof <pvanhoof@gnome.org> 
     2 
     3        * Removed the _func from all the interfaces and virtual function 
     4        pointers in the classes. This should not be an ABI but is an API 
     5        change. 
     6 
     7        * This was a major API change 
     8 
    192008-01-28  Philip Van Hoof <pvanhoof@gnome.org> 
    210 
     
    11491157        TnyCamelGetSupportedSecureAuthCallback callback to provide a 
    11501158        GError* instead of a GError**, because it is not an output parameter. 
    1151         * libtinymail-camel/tny-camel-account.c: (on_supauth_idle_func), 
     1159        * libtinymail-camel/tny-camel-account.c: (on_supauth_idle), 
    11521160        (tny_camel_account_get_supported_secure_authentication_async_thread 
    11531161        ), (tny_camel_account_get_supported_secure_authentication): 
     
    13581366        (_tny_camel_account_refresh), 
    13591367        (_tny_camel_account_start_camel_operation_n), 
    1360         (_tny_camel_account_actual_cancel), (on_supauth_idle_func): 
     1368        (_tny_camel_account_actual_cancel), (on_supauth_idle): 
    13611369        * libtinymail-camel/tny-camel-folder.c: (load_folder_no_lock), 
    13621370        (tny_camel_folder_add_msg_async_thread), 
     
    13741382        (tny_camel_folder_get_folders_async_thread), 
    13751383        (tny_camel_folder_get_folders_async_default): 
    1376         * libtinymail-camel/tny-camel-queue.c: (thread_main_func): 
     1384        * libtinymail-camel/tny-camel-queue.c: (thread_main): 
    13771385        * libtinymail-camel/tny-camel-store-account.c: 
    13781386        (tny_camel_store_account_get_folders_async_thread), 
     
    29562964        (tny_camel_folder_refresh_async_destroyer), 
    29572965        (tny_camel_folder_refresh_async_callback), (destroy_progress_idle), 
    2958         (progress_func), (tny_camel_folder_refresh_async_status), 
     2966        (progress), (tny_camel_folder_refresh_async_status), 
    29592967        (tny_camel_folder_refresh_async_default): Use shared TnyIdleHandler  
    29602968        instances, so that the main idle callback can stop the progress idle  
  • trunk/libtinymail-acap/tny-acap-account-store.c

    r2825 r3304  
    216216        TnyAccountStoreIface *klass = (TnyAccountStoreIface *)g; 
    217217 
    218         klass->get_accounts_func = tny_acap_account_store_get_accounts; 
    219         klass->get_cache_dir_func = tny_acap_account_store_get_cache_dir; 
    220         klass->get_device_func = tny_acap_account_store_get_device; 
    221         klass->alert_func = tny_acap_account_store_alert; 
    222         klass->find_account_func = tny_acap_account_store_find_account; 
     218        klass->get_accounts= tny_acap_account_store_get_accounts; 
     219        klass->get_cache_dir= tny_acap_account_store_get_cache_dir; 
     220        klass->get_device= tny_acap_account_store_get_device; 
     221        klass->alert= tny_acap_account_store_alert; 
     222        klass->find_account= tny_acap_account_store_find_account; 
    223223 
    224224        return; 
  • trunk/libtinymail-camel/tny-camel-account.c

    r3280 r3304  
    264264tny_camel_account_matches_url_string (TnyAccount *self, const gchar *url_string) 
    265265{ 
    266         return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->matches_url_string_func (self, url_string); 
     266        return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->matches_url_string(self, url_string); 
    267267} 
    268268 
     
    362362tny_camel_account_get_account_type (TnyAccount *self) 
    363363{ 
    364         return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_account_type_func (self); 
     364        return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_account_type(self); 
    365365} 
    366366 
     
    418418tny_camel_account_add_option (TnyCamelAccount *self, const gchar *option) 
    419419{ 
    420         TNY_CAMEL_ACCOUNT_GET_CLASS (self)->add_option_func (self, option); 
     420        TNY_CAMEL_ACCOUNT_GET_CLASS (self)->add_option(self, option); 
    421421} 
    422422 
     
    446446        { 
    447447                priv->options = g_list_prepend (priv->options, g_strdup (option)); 
    448                 TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare_func (self, TRUE, FALSE); 
     448                TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare(self, TRUE, FALSE); 
    449449                _tny_camel_account_emit_changed (self); 
    450450        } 
     
    458458        TnyCamelAccountPriv *priv = TNY_CAMEL_ACCOUNT_GET_PRIVATE (self); 
    459459 
    460         TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare_func (TNY_CAMEL_ACCOUNT (self), for_online, TRUE); 
     460        TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare(TNY_CAMEL_ACCOUNT (self), for_online, TRUE); 
    461461        if (camel_exception_is_set (priv->ex)) 
    462462                _tny_camel_exception_to_tny_error (priv->ex, err); 
     
    470470tny_camel_account_set_url_string (TnyAccount *self, const gchar *url_string) 
    471471{ 
    472         TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_url_string_func (self, url_string); 
     472        TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_url_string(self, url_string); 
    473473} 
    474474 
     
    517517 
    518518        if (changed) 
    519                 TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare_func (TNY_CAMEL_ACCOUNT (self), TRUE, TRUE); 
     519                TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare(TNY_CAMEL_ACCOUNT (self), TRUE, TRUE); 
    520520 
    521521        g_static_rec_mutex_unlock (priv->service_lock); 
     
    529529tny_camel_account_get_url_string (TnyAccount *self) 
    530530{ 
    531         return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_url_string_func (self); 
     531        return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_url_string(self); 
    532532} 
    533533 
     
    544544tny_camel_account_set_name (TnyAccount *self, const gchar *name) 
    545545{ 
    546         TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_name_func (self, name); 
     546        TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_name(self, name); 
    547547} 
    548548 
     
    568568tny_camel_account_get_name (TnyAccount *self) 
    569569{ 
    570         return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_name_func (self); 
     570        return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_name(self); 
    571571} 
    572572 
     
    651651tny_camel_account_start_operation (TnyAccount *self, TnyStatusDomain domain, TnyStatusCode code, TnyStatusCallback status_callback, gpointer status_user_data) 
    652652{ 
    653         TNY_CAMEL_ACCOUNT_GET_CLASS (self)->start_operation_func (self, domain, code, status_callback, status_user_data); 
     653        TNY_CAMEL_ACCOUNT_GET_CLASS (self)->start_operation(self, domain, code, status_callback, status_user_data); 
    654654} 
    655655 
     
    657657tny_camel_account_stop_operation (TnyAccount *self, gboolean *canceled) 
    658658{ 
    659         TNY_CAMEL_ACCOUNT_GET_CLASS (self)->stop_operation_func (self, canceled); 
     659        TNY_CAMEL_ACCOUNT_GET_CLASS (self)->stop_operation(self, canceled); 
    660660} 
    661661 
     
    748748tny_camel_account_get_connection_status (TnyAccount *self) 
    749749{ 
    750         return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_connection_status_func (self); 
     750        return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_connection_status(self); 
    751751} 
    752752 
     
    779779                _tny_session_camel_register_account (session, self); 
    780780 
    781                 TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare_func (self, FALSE, FALSE); 
     781                TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare(self, FALSE, FALSE); 
    782782        } 
    783783 
     
    790790tny_camel_account_set_id (TnyAccount *self, const gchar *id) 
    791791{ 
    792         TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_id_func (self, id); 
     792        TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_id(self, id); 
    793793} 
    794794 
     
    814814tny_camel_account_set_secure_auth_mech (TnyAccount *self, const gchar *mech) 
    815815{ 
    816         TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_secure_auth_mech_func (self, mech); 
     816        TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_secure_auth_mech(self, mech); 
    817817} 
    818818 
     
    847847 
    848848        if (changed) 
    849                 TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare_func (TNY_CAMEL_ACCOUNT (self), TRUE, FALSE); 
     849                TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare(TNY_CAMEL_ACCOUNT (self), TRUE, FALSE); 
    850850 
    851851        g_static_rec_mutex_unlock (priv->service_lock); 
     
    859859tny_camel_account_set_proto (TnyAccount *self, const gchar *proto) 
    860860{ 
    861         TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_proto_func (self, proto); 
     861        TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_proto(self, proto); 
    862862} 
    863863 
     
    892892 
    893893        if (changed) 
    894                 TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare_func (TNY_CAMEL_ACCOUNT (self), TRUE, FALSE); 
     894                TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare(TNY_CAMEL_ACCOUNT (self), TRUE, FALSE); 
    895895 
    896896        g_static_rec_mutex_unlock (priv->service_lock); 
     
    904904tny_camel_account_set_user (TnyAccount *self, const gchar *user) 
    905905{ 
    906         TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_user_func (self, user); 
     906        TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_user(self, user); 
    907907} 
    908908 
     
    937937 
    938938        if (changed) 
    939                 TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare_func (TNY_CAMEL_ACCOUNT (self),  
     939                TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare(TNY_CAMEL_ACCOUNT (self),  
    940940                        !priv->in_auth, FALSE); 
    941941 
     
    950950tny_camel_account_set_hostname (TnyAccount *self, const gchar *host) 
    951951{ 
    952         TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_hostname_func (self, host); 
     952        TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_hostname(self, host); 
    953953} 
    954954 
     
    983983 
    984984        if (changed) 
    985                 TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare_func (TNY_CAMEL_ACCOUNT (self),  
     985                TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare(TNY_CAMEL_ACCOUNT (self),  
    986986                        TRUE, FALSE); 
    987987 
     
    998998tny_camel_account_set_port (TnyAccount *self, guint port) 
    999999{ 
    1000         TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_port_func (self, port); 
     1000        TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_port(self, port); 
    10011001} 
    10021002 
     
    10221022 
    10231023        if (changed) 
    1024                 TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare_func (TNY_CAMEL_ACCOUNT (self),  
     1024                TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare(TNY_CAMEL_ACCOUNT (self),  
    10251025                        TRUE, FALSE); 
    10261026 
     
    10361036tny_camel_account_set_pass_func (TnyAccount *self, TnyGetPassFunc get_pass_func) 
    10371037{ 
    1038         TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_pass_func_func (self, get_pass_func); 
     1038        TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_pass_func (self, get_pass_func); 
    10391039} 
    10401040 
     
    10591059 
    10601060        if (changed) 
    1061                 TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare_func (TNY_CAMEL_ACCOUNT (self),  
     1061                TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare(TNY_CAMEL_ACCOUNT (self),  
    10621062                        reconf_if, TRUE); 
    10631063 
     
    10711071 
    10721072static void 
    1073 tny_camel_account_set_forget_pass_func (TnyAccount *self, TnyForgetPassFunc get_forget_pass_func) 
    1074 { 
    1075         TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_forget_pass_func_func (self, get_forget_pass_func); 
     1073tny_camel_account_set_forget_pass_func(TnyAccount *self, TnyForgetPassFunc get_forget_pass_func) 
     1074{ 
     1075        TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_forget_pass_func (self, get_forget_pass_func); 
    10761076} 
    10771077 
     
    10961096 
    10971097        if (changed) 
    1098                 TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare_func (TNY_CAMEL_ACCOUNT (self),  
     1098                TNY_CAMEL_ACCOUNT_GET_CLASS (self)->prepare(TNY_CAMEL_ACCOUNT (self),  
    10991099                        reconf_if, FALSE); 
    11001100 
     
    11071107tny_camel_account_get_id (TnyAccount *self) 
    11081108{ 
    1109         return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_id_func (self); 
     1109        return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_id(self); 
    11101110} 
    11111111 
     
    11241124tny_camel_account_get_secure_auth_mech (TnyAccount *self) 
    11251125{ 
    1126         return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_secure_auth_mech_func (self); 
     1126        return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_secure_auth_mech(self); 
    11271127} 
    11281128 
     
    11411141tny_camel_account_get_proto (TnyAccount *self) 
    11421142{ 
    1143         return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_proto_func (self); 
     1143        return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_proto(self); 
    11441144} 
    11451145 
     
    11581158tny_camel_account_get_user (TnyAccount *self) 
    11591159{ 
    1160         return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_user_func (self); 
     1160        return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_user(self); 
    11611161} 
    11621162 
     
    11751175tny_camel_account_get_hostname (TnyAccount *self) 
    11761176{ 
    1177         return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_hostname_func (self); 
     1177        return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_hostname(self); 
    11781178} 
    11791179 
     
    11931193tny_camel_account_cancel (TnyAccount *self) 
    11941194{ 
    1195         TNY_CAMEL_ACCOUNT_GET_CLASS (self)->cancel_func (self); 
     1195        TNY_CAMEL_ACCOUNT_GET_CLASS (self)->cancel(self); 
    11961196} 
    11971197 
     
    12551255tny_camel_account_get_port (TnyAccount *self) 
    12561256{ 
    1257         return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_port_func (self); 
     1257        return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_port(self); 
    12581258} 
    12591259 
     
    12681268tny_camel_account_get_pass_func (TnyAccount *self) 
    12691269{ 
    1270         return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_pass_func_func (self); 
     1270        return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_pass_func (self); 
    12711271} 
    12721272 
     
    12851285tny_camel_account_get_forget_pass_func (TnyAccount *self) 
    12861286{ 
    1287         return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_forget_pass_func_func (self); 
     1287        return TNY_CAMEL_ACCOUNT_GET_CLASS (self)->get_forget_pass_func (self); 
    12881288} 
    12891289 
     
    15881588tny_camel_account_set_online (TnyCamelAccount *self, gboolean online, TnyCamelSetOnlineCallback callback, gpointer user_data) 
    15891589{ 
    1590         TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_online_func (self, online, callback, user_data); 
     1590        TNY_CAMEL_ACCOUNT_GET_CLASS (self)->set_online(self, online, callback, user_data); 
    15911591} 
    15921592 
     
    16051605} OnSetOnlineInfo; 
    16061606 
    1607 gboolean  
     1607static gboolean  
    16081608on_set_online_done_idle_func (gpointer data) 
    16091609{ 
     
    16211621 
    16221622static void  
    1623 on_set_online_done_destroy_func (gpointer data) 
     1623on_set_online_done_destroy(gpointer data) 
    16241624{ 
    16251625        OnSetOnlineInfo *info = (OnSetOnlineInfo *) data; 
     
    16871687                g_idle_add_full (G_PRIORITY_HIGH,  
    16881688                        on_set_online_done_idle_func,  
    1689                         info, on_set_online_done_destroy_func); 
     1689                        info, on_set_online_done_destroy); 
    16901690 
    16911691        } 
     
    18211821 
    18221822        /* Prepare, so service is set for query_auth_types */ 
    1823         TNY_CAMEL_ACCOUNT_GET_CLASS(self)->prepare_func(self, FALSE, TRUE); 
     1823        TNY_CAMEL_ACCOUNT_GET_CLASS(self)->prepare (self, FALSE, TRUE); 
    18241824 
    18251825        authtypes = camel_service_query_auth_types (priv->service, &ex); 
     
    20382038        TnyAccountIface *klass = (TnyAccountIface *)g; 
    20392039 
    2040         klass->get_port_func = tny_camel_account_get_port; 
    2041         klass->set_port_func = tny_camel_account_set_port; 
    2042         klass->get_hostname_func = tny_camel_account_get_hostname; 
    2043         klass->set_hostname_func = tny_camel_account_set_hostname; 
    2044         klass->get_proto_func = tny_camel_account_get_proto; 
    2045         klass->set_proto_func = tny_camel_account_set_proto; 
    2046         klass->get_secure_auth_mech_func = tny_camel_account_get_secure_auth_mech; 
    2047         klass->set_secure_auth_mech_func = tny_camel_account_set_secure_auth_mech; 
    2048         klass->get_user_func = tny_camel_account_get_user; 
    2049         klass->set_user_func = tny_camel_account_set_user; 
    2050         klass->get_pass_func_func = tny_camel_account_get_pass_func; 
    2051         klass->set_pass_func_func = tny_camel_account_set_pass_func; 
    2052         klass->get_forget_pass_func_func = tny_camel_account_get_forget_pass_func; 
    2053         klass->set_forget_pass_func_func = tny_camel_account_set_forget_pass_func; 
    2054         klass->set_id_func = tny_camel_account_set_id; 
    2055         klass->get_id_func = tny_camel_account_get_id; 
    2056         klass->get_connection_status_func = tny_camel_account_get_connection_status; 
    2057         klass->set_url_string_func = tny_camel_account_set_url_string; 
    2058         klass->get_url_string_func = tny_camel_account_get_url_string; 
    2059         klass->get_name_func = tny_camel_account_get_name; 
    2060         klass->set_name_func = tny_camel_account_set_name; 
    2061         klass->get_account_type_func = tny_camel_account_get_account_type; 
    2062         klass->cancel_func = tny_camel_account_cancel; 
    2063         klass->matches_url_string_func = tny_camel_account_matches_url_string; 
    2064         klass->start_operation_func = tny_camel_account_start_operation; 
    2065         klass->stop_operation_func =  tny_camel_account_stop_operation; 
    2066         klass->is_ready_func = tny_camel_account_is_ready; 
    2067         klass->set_connection_policy_func = tny_camel_account_set_connection_policy; 
    2068         klass->get_connection_policy_func = tny_camel_account_get_connection_policy; 
     2040        klass->get_port= tny_camel_account_get_port; 
     2041        klass->set_port= tny_camel_account_set_port; 
     2042        klass->get_hostname= tny_camel_account_get_hostname; 
     2043        klass->set_hostname= tny_camel_account_set_hostname; 
     2044        klass->get_proto= tny_camel_account_get_proto; 
     2045        klass->set_proto= tny_camel_account_set_proto; 
     2046        klass->get_secure_auth_mech= tny_camel_account_get_secure_auth_mech; 
     2047        klass->set_secure_auth_mech= tny_camel_account_set_secure_auth_mech; 
     2048        klass->get_user= tny_camel_account_get_user; 
     2049        klass->set_user= tny_camel_account_set_user; 
     2050        klass->get_pass_func = tny_camel_account_get_pass_func; 
     2051        klass->set_pass_func = tny_camel_account_set_pass_func; 
     2052        klass->get_forget_pass_func = tny_camel_account_get_forget_pass_func; 
     2053        klass->set_forget_pass_func = tny_camel_account_set_forget_pass_func; 
     2054        klass->set_id= tny_camel_account_set_id; 
     2055        klass->get_id= tny_camel_account_get_id; 
     2056        klass->get_connection_status= tny_camel_account_get_connection_status; 
     2057        klass->set_url_string= tny_camel_account_set_url_string; 
     2058        klass->get_url_string= tny_camel_account_get_url_string; 
     2059        klass->get_name= tny_camel_account_get_name; 
     2060        klass->set_name= tny_camel_account_set_name; 
     2061        klass->get_account_type= tny_camel_account_get_account_type; 
     2062        klass->cancel= tny_camel_account_cancel; 
     2063        klass->matches_url_string= tny_camel_account_matches_url_string; 
     2064        klass->start_operation= tny_camel_account_start_operation; 
     2065        klass->stop_operation=  tny_camel_account_stop_operation; 
     2066        klass->is_ready= tny_camel_account_is_ready; 
     2067        klass->set_connection_policy= tny_camel_account_set_connection_policy; 
     2068        klass->get_connection_policy= tny_camel_account_get_connection_policy; 
    20692069 
    20702070        return; 
     
    20962096                        TNY_TYPE_CAMEL_ACCOUNT, 
    20972097                        G_SIGNAL_RUN_FIRST, 
    2098                         G_STRUCT_OFFSET (TnyCamelAccountClass, set_online_happened_func), 
     2098                        G_STRUCT_OFFSET (TnyCamelAccountClass, set_online_happened), 
    20992099                        NULL, NULL, 
    21002100                        g_cclosure_marshal_VOID__BOOLEAN,  
     
    21022102        } 
    21032103 
    2104         class->get_port_func = tny_camel_account_get_port_default; 
    2105         class->set_port_func = tny_camel_account_set_port_default; 
    2106         class->get_hostname_func = tny_camel_account_get_hostname_default; 
    2107         class->set_hostname_func = tny_camel_account_set_hostname_default; 
    2108         class->get_proto_func = tny_camel_account_get_proto_default; 
    2109         class->set_proto_func = tny_camel_account_set_proto_default; 
    2110         class->get_secure_auth_mech_func = tny_camel_account_get_secure_auth_mech_default; 
    2111         class->set_secure_auth_mech_func = tny_camel_account_set_secure_auth_mech_default; 
    2112         class->get_user_func = tny_camel_account_get_user_default; 
    2113         class->set_user_func = tny_camel_account_set_user_default; 
    2114         class->get_pass_func_func = tny_camel_account_get_pass_func_default; 
    2115         class->set_pass_func_func = tny_camel_account_set_pass_func_default; 
    2116         class->get_forget_pass_func_func = tny_camel_account_get_forget_pass_func_default; 
    2117         class->set_forget_pass_func_func = tny_camel_account_set_forget_pass_func_default; 
    2118         class->set_id_func = tny_camel_account_set_id_default; 
    2119         class->get_id_func = tny_camel_account_get_id_default; 
    2120         class->get_connection_status_func = tny_camel_account_get_connection_status_default; 
    2121         class->set_url_string_func = tny_camel_account_set_url_string_default; 
    2122         class->get_url_string_func = tny_camel_account_get_url_string_default; 
    2123         class->get_name_func = tny_camel_account_get_name_default; 
    2124         class->set_name_func = tny_camel_account_set_name_default; 
    2125         class->get_account_type_func = tny_camel_account_get_account_type_default; 
    2126         class->cancel_func = tny_camel_account_cancel_default; 
    2127         class->matches_url_string_func = tny_camel_account_matches_url_string_default; 
    2128         class->start_operation_func = tny_camel_account_start_operation_default; 
    2129         class->stop_operation_func =  tny_camel_account_stop_operation_default; 
    2130  
    2131         class->add_option_func = tny_camel_account_add_option_default; 
    2132         class->set_online_func = tny_camel_account_set_online_default; 
     2104        class->get_port= tny_camel_account_get_port_default; 
     2105        class->set_port= tny_camel_account_set_port_default; 
     2106        class->get_hostname= tny_camel_account_get_hostname_default; 
     2107        class->set_hostname= tny_camel_account_set_hostname_default; 
     2108        class->get_proto= tny_camel_account_get_proto_default; 
     2109        class->set_proto= tny_camel_account_set_proto_default; 
     2110        class->get_secure_auth_mech= tny_camel_account_get_secure_auth_mech_default; 
     2111        class->set_secure_auth_mech= tny_camel_account_set_secure_auth_mech_default; 
     2112        class->get_user= tny_camel_account_get_user_default; 
     2113        class->set_user= tny_camel_account_set