Files
GoldenCheetah/src/CalendarDownload.h
Mark Liversedge 9cf024f946 Deprecate SQL metricDB
.. removes across the code base

.. need to fixup RideFileCache and Lucene refresh
   within the RideItem/RideCache framework, they will
   NOT be refreshed at present

.. need to look at how charts get refreshed on data
   changes now RideItem provides a more granular
   mechanism (look for XXXREFRESH in code)

.. New Intervals code will definitely NOT compile
   and needs to be redesigned/reimplemented to fit
   in with the ride cache
2014-12-24 20:24:34 +00:00

51 lines
1.3 KiB
C++

/*
* Copyright (c) 2010 Mark Liversedge (liversedge@gmail.com)
*
* This program 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; either version 2 of the License, or (at your option)
* any later version.
*
* This program 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 this program; if not, write to the Free Software Foundation, Inc., 51
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef _Gc_CalendarDownload_h
#define _Gc_CalendarDownload_h
#include "GoldenCheetah.h"
#include <QObject>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QMessageBox>
#include "Context.h"
#include "Settings.h"
/* #include "CalendarParser.h" */
class CalendarDownload : public QObject
{
Q_OBJECT
G_OBJECT
public:
CalendarDownload(Context *context);
bool download();
public slots:
void downloadFinished(QNetworkReply *reply);
private:
Context *context;
QNetworkAccessManager *nam;
/* CalendarParser *parser; */
};
#endif