X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2FfrmUpdate.cpp;h=74f5770ac33db920b421abda1dd1d966d46322f3;hb=176323555ae58da5fec1ac843e0c613a0b9dabba;hp=ded624469d6637e1a33012cd1298e1f63684fc57;hpb=45729fca56479bd9158486e0cda0c4a94b4dd1dc;p=xestiaab%2F.git diff --git a/source/frmUpdate.cpp b/source/frmUpdate.cpp index ded6244..74f5770 100644 --- a/source/frmUpdate.cpp +++ b/source/frmUpdate.cpp @@ -1,3 +1,21 @@ +// frmUpdate.cpp - Update form. +// +// (c) 2012-2015 Xestia Software Development. +// +// This file is part of Xestia Address Book. +// +// Xestia Address Book is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by the +// Free Software Foundation, version 3 of the license. +// +// Xestia Address Book is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with Xestia Address Book. If not, see + #include #include @@ -6,6 +24,8 @@ size_t WritebackFuncUpdate(char *ptr, size_t size, size_t nmemb, wxString *stream){ + // Write back function for getting version information. + wxString Data; //wxString *PageInput; Data = wxString::FromUTF8((char *)ptr); @@ -26,6 +46,8 @@ frmUpdateADT( parent ) void frmUpdate::CloseWindow( wxCommandEvent& event ) { + // Close this window. + this->Close(); } @@ -177,12 +199,16 @@ void frmUpdate::FetchData() void frmUpdate::VisitGelforn( wxCommandEvent &event ){ + // Launch the Xestia Gelforn website. + wxLaunchDefaultBrowser(wxT("https://gelforn.xestia.co.uk/")); } void frmUpdate::VisitPREMIUM( wxCommandEvent &event ){ + // Launch the Xestia PREMIUM website. + wxLaunchDefaultBrowser(wxT("https://premium.xestia.co.uk/")); } \ No newline at end of file