Skip to content

Commit

Permalink
fmk - updating main to utilize tapisV3
Browse files Browse the repository at this point in the history
  • Loading branch information
fmckenna committed Aug 7, 2024
1 parent 7e7a46f commit cc573cc
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
#include <QFile>
#include <QThread>
#include <QObject>

#include <AgaveCurl.h>
#include <WorkflowAppPBE.h>

#include <QTime>
#include <QTextStream>
#include <GoogleAnalytics.h>
#include <QDir>
#include <QStandardPaths>
#include <QProcessEnvironment>
#include <QWebEngineView>

#include <WorkflowAppPBE.h>
#include <TapisV3.h>
#include <GoogleAnalytics.h>


// customMessgaeOutput code from web:
// https://stackoverflow.com/questions/4954140/how-to-redirect-qdebug-qwarning-qcritical-etc-output

Expand Down Expand Up @@ -111,15 +111,17 @@ int main(int argc, char *argv[])
//

QString tenant("designsafe");
QString storage("agave://designsafe.storage.default/");
//QString storage("agave://designsafe.storage.default/");
QString storage("designsafe.storage.default/");
QString dirName("PBE");

AgaveCurl *theRemoteService = new AgaveCurl(tenant, storage, &dirName);

//AgaveCurl *theRemoteService = new AgaveCurl(tenant, storage, &dirName);
TapisV3 *theRemoteService = new TapisV3(tenant, storage, &dirName);

//
// create the main window
//

//WorkflowAppWidget *theInputApp = new WorkflowAppPBE(theRemoteService);
WorkflowAppWidget *theInputApp = WorkflowAppPBE::getInstance(theRemoteService);
MainWindowWorkflowApp mainWindow(
Expand Down

0 comments on commit cc573cc

Please sign in to comment.