Updated changelog
[grr] / src / googlereader.h
index a7d6e57..360f7dd 100644 (file)
@@ -27,6 +27,7 @@ class Feed : public QObject {
                uint newestitem;
                
                QString continuation;
+               uint updated;
 
                QDateTime lastUpdated;
 
@@ -40,6 +41,7 @@ class Feed : public QObject {
                        unread = 0;
                        reader = gr;
                        special = 0;
+                       updated = 0;
                }
 
                void fetch(bool);
@@ -137,24 +139,28 @@ class GoogleReader: public QObject {
                void setLogin(QString l) { login = l; }
                void setPasswd(QString p) { passwd = p; }
                void logOut() { 
-                       SID = NULL; 
+                       auth = NULL;
                        token = NULL;
                        updateSubscriptionsPending = false;
                        updateUnreadPending = false;
-                       SIDPending = false;
+                       authPending = false;
+               }
+
+               QByteArray getAuth() {
+                       return auth;
                }
 
        private slots:
                void downloadFinished(QNetworkReply *reply);
 
        private:
-               char *SID;
+               QByteArray auth;
                QBuffer buffer;
                bool updateSubscriptionsPending;
                bool updateUnreadPending;
-               bool SIDPending;
+               bool authPending;
 
-               void getSID();
+               void clientLogin();
                void parseSubscriptions(QByteArray data);
                void parseUnread(QByteArray data);