~ubuntu-branches/ubuntu/lucid/boinc/lucid

« back to all changes in this revision

Viewing changes to client/acct_setup.h

  • Committer: Bazaar Package Importer
  • Author(s): Frank S. Thomas, Frank S. Thomas
  • Date: 2007-10-25 20:54:09 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20071025205409-ib4417foffej3s4s
Tags: 5.10.27-1
[ Frank S. Thomas ]
* New upstream release. (closes: #447929)
  - Handles change in /proc/cpuinfo on powerpc introduced in Linux 2.6.23.
    Thanks to Thibaut VARENE <varenet@debian.org> for the patch.
    (closes: #437459)
  - Allows to set arbitrary many alternate platforms in the client's config
    file cc_config.xml with the <alt_platform> element which is a direct
    child of the <options> element. (closes: #437326)
  - BOINC Manager: At account creation check if wxGetUserName() returned an
    empty string and if it did use the output of wxGetUserId() instead.
    Thanks to Morita Sho <morita-pub-en-debian@inz.sakura.ne.jp> for the
    excellent bug report. (closes: #447320)
* debian/control:
  - Moved Homepage pseudo field in the long descriptions to the source stanza
    because this is now a propper debian/control field supported by dpkg.
  - Removed XS- prefix from Vcs fields since they are now officially
    supported by dpkg.
* debian/boinc-client.init: Print the scheduling status of boinc_client's
  children only if there are any present, otherwise schedtool would be
  called without arguments and would print its usage text.
* debian/icons/: Use icons with transparent background.
* debian/boinc-manager.desktop:
  - Addded Portuguese translations for GenericName and Comment, thanks to
    Marco Rodrigues <gothicx@sapo.pt>.
  - Monitor is a subcategory of the System main category, so use System
    instead of Utility.
  - Removed the Encoding key since it is deprecated in the Desktop Entry
    Specification 1.0 and added the Version key.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
    std::string reply;
55
55
    int error_num;
56
56
 
 
57
    GET_PROJECT_CONFIG_OP(GUI_HTTP* p){
 
58
        error_num = BOINC_SUCCESS;
 
59
        gui_http = p;
 
60
    }
57
61
    virtual ~GET_PROJECT_CONFIG_OP(){}
58
62
    int do_rpc(string url);
59
63
    virtual void handle_reply(int http_op_retval);
60
 
    GET_PROJECT_CONFIG_OP(){error_num = BOINC_SUCCESS;}
61
64
};
62
65
 
63
66
struct LOOKUP_ACCOUNT_OP: public GUI_HTTP_OP {
64
67
    std::string reply;
65
68
    int error_num;
66
69
 
 
70
    LOOKUP_ACCOUNT_OP(GUI_HTTP* p){
 
71
        error_num = BOINC_SUCCESS;
 
72
        gui_http = p;
 
73
    }
67
74
    virtual ~LOOKUP_ACCOUNT_OP(){}
68
75
    int do_rpc(ACCOUNT_IN&);
69
76
    virtual void handle_reply(int http_op_retval);
70
 
    LOOKUP_ACCOUNT_OP(){error_num = BOINC_SUCCESS;}
71
77
};
72
78
 
73
79
struct CREATE_ACCOUNT_OP: public GUI_HTTP_OP {
74
80
    std::string reply;
75
81
    int error_num;
76
82
 
 
83
    CREATE_ACCOUNT_OP(GUI_HTTP* p){
 
84
        error_num = BOINC_SUCCESS;
 
85
        gui_http = p;
 
86
    }
77
87
    virtual ~CREATE_ACCOUNT_OP(){}
78
88
    int do_rpc(ACCOUNT_IN&);
79
89
    virtual void handle_reply(int http_op_retval);
80
 
    CREATE_ACCOUNT_OP(){error_num = BOINC_SUCCESS;}
81
90
};
82
91
 
83
92
struct GET_CURRENT_VERSION_OP: public GUI_HTTP_OP {
84
93
    int error_num;
85
94
 
 
95
    GET_CURRENT_VERSION_OP(GUI_HTTP* p){
 
96
        error_num = BOINC_SUCCESS;
 
97
        gui_http = p;
 
98
    }
86
99
    virtual ~GET_CURRENT_VERSION_OP(){}
87
100
    int do_rpc();
88
101
    virtual void handle_reply(int http_op_retval);
89
 
    GET_CURRENT_VERSION_OP(){error_num = BOINC_SUCCESS;}
90
102
};
91
103
 
92
104
struct GET_PROJECT_LIST_OP: public GUI_HTTP_OP {
93
105
    int error_num;
94
106
 
 
107
    GET_PROJECT_LIST_OP(GUI_HTTP* p){
 
108
        error_num = BOINC_SUCCESS;
 
109
        gui_http = p;
 
110
    }
95
111
    virtual ~GET_PROJECT_LIST_OP(){}
96
112
    int do_rpc();
97
113
    virtual void handle_reply(int http_op_retval);
98
 
    GET_PROJECT_LIST_OP(){error_num = BOINC_SUCCESS;}
99
114
};
100
115
 
101
116
struct PROJECT_ATTACH {