Changed Facebook stuff to socialnetworks.h/cpp

All Facebook related stuff now is on SocialNetworks.h/cpp
this makes it much easier to implement things and looking
for bugs.

working:
- logging in
- getting user id
- getting album id ( or creating it )

*much* more testing is needed, of course.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-12-24 21:34:23 -02:00 committed by Dirk Hohndel
parent c8c17dc01e
commit ee5d93e155
11 changed files with 247 additions and 154 deletions

View file

@ -27,6 +27,7 @@
#include <QFileDialog>
#include <string>
#include <iostream>
#include "socialnetworks.h"
#include "../qthelper.h"
// # Date Rtg Dpth Dur Tmp Wght Suit Cyl Gas SAC OTU CNS Loc
@ -842,8 +843,7 @@ void DiveListView::contextMenuEvent(QContextMenuEvent *event)
void DiveListView::publishFacebook()
{
FacebookManager manager;
manager.checkAlbumExists();
FacebookManager *fb = FacebookManager::instance();
}
void DiveListView::shiftTimes()