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

« back to all changes in this revision

Viewing changes to client/gui_rpc_server.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:
18
18
// 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
19
 
20
20
#include "network.h"
 
21
#include "acct_setup.h"
21
22
 
22
23
// FSM states for auto-update
23
24
 
45
46
        // connection is from local host
46
47
    int au_ss_state;
47
48
    int au_mgr_state;
 
49
    GUI_HTTP gui_http;
 
50
    GET_PROJECT_CONFIG_OP get_project_config_op;
 
51
    LOOKUP_ACCOUNT_OP lookup_account_op;
 
52
    CREATE_ACCOUNT_OP create_account_op;
48
53
 
49
54
    GUI_RPC_CONN(int);
50
55
    ~GUI_RPC_CONN();
51
56
    int handle_rpc();
52
57
    void handle_auth1(MIOFILE&);
53
58
    void handle_auth2(char*, MIOFILE&);
 
59
    void handle_get_project_config(char* buf, MIOFILE& fout);
 
60
    void handle_get_project_config_poll(char*, MIOFILE& fout);
 
61
    void handle_lookup_account(char* buf, MIOFILE& fout);
 
62
    void handle_lookup_account_poll(char*, MIOFILE& fout);
 
63
    void handle_create_account(char* buf, MIOFILE& fout);
 
64
    void handle_create_account_poll(char*, MIOFILE& fout);
54
65
};
55
66
 
56
67
// authentication for GUI RPCs:
79
90
    bool recent_rpc_needs_network(double interval);
80
91
    void send_quits();
81
92
    bool quits_sent();
 
93
    bool poll();
82
94
};