~ubuntu-branches/ubuntu/saucy/filezilla/saucy-proposed

« back to all changes in this revision

Viewing changes to src/include/server.h

  • Committer: Package Import Robot
  • Author(s): Adrien Cunin
  • Date: 2012-12-07 17:17:17 UTC
  • mfrom: (1.1.31)
  • Revision ID: package-import@ubuntu.com-20121207171717-nt6as62u4pa1uv11
Tags: 3.6.0.2-1ubuntu1
* Merge from Debian experimental. Remaining Ubuntu change:
   - Added debian/patches/11_use-decimal-si-by-default.patch in order to
     comply with UnitsPolicy

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
        CServer(enum ServerProtocol protocol, enum ServerType type, wxString host, unsigned int, wxString user, wxString pass = _T(""), wxString account = _T(""));
72
72
 
73
73
        void SetType(enum ServerType type);
74
 
        
 
74
 
75
75
        enum ServerProtocol GetProtocol() const;
76
76
        enum ServerType GetType() const;
77
77
        wxString GetHost() const;
84
84
        enum PasvMode GetPasvMode() const;
85
85
        int MaximumMultipleConnections() const;
86
86
        bool GetBypassProxy() const;
87
 
        
 
87
 
88
88
        // Return true if URL could be parsed correctly, false otherwise.
89
89
        // If parsing fails, pError is filled with the reason and the CServer instance may be left an undefined state.
90
90
        bool ParseUrl(wxString host, unsigned int port, wxString user, wxString pass, wxString &error, CServerPath &path);
91
91
        bool ParseUrl(wxString host, const wxString& port, wxString user, wxString pass, wxString &error, CServerPath &path);
92
 
        
 
92
 
93
93
        void SetProtocol(enum ServerProtocol serverProtocol);
94
94
        bool SetHost(wxString Host, unsigned int port);
95
95
 
103
103
        bool operator!=(const CServer &op) const;
104
104
        bool EqualsNoPass(const CServer &op) const;
105
105
 
106
 
        bool SetTimezoneOffset(int minutes);    
 
106
        bool SetTimezoneOffset(int minutes);
107
107
        void SetPasvMode(enum PasvMode pasvMode);
108
108
        void MaximumMultipleConnections(int maximum);
109
109