Skip to content

Commit

Permalink
去除对Aws SDK的依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Porter committed Jul 9, 2024
1 parent 6d43021 commit 5550afd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
12 changes: 6 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ if (WINDOWS_BUILD AND AWSSDK_INSTALL_AS_SHARED_LIBS)
endif ()
set(PROJECT_SOURCES
main.cpp
loginwindow.cpp
loginwindow.h
loginwindow.ui



)

if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)
Expand All @@ -49,9 +49,9 @@ if(${QT_VERSION_MAJOR} GREATER_EQUAL 6)
mycore.h mycore.cpp
user.h user.cpp
synctask.h synctask.cpp
awsutils.h awsutils.cpp
reset.h reset.cpp reset.ui
signin.h signin.cpp signin.ui



mainwindow.h mainwindow.cpp
homeview.h homeview.cpp
apirequest.h apirequest.cpp
Expand Down
1 change: 0 additions & 1 deletion main.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include "loginwindow.h"
#include <QApplication>
#include "ElaApplication.h"
#include "synctask.h"
Expand Down
2 changes: 0 additions & 2 deletions synctask.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <QStandardPaths>
#include <QString>
#include "qcontainerfwd.h"
#include "awsutils.h"

//声明友元类
class SyncCore;
Expand All @@ -25,7 +24,6 @@ class SyncTask
int syncStatus; //1 for upload/download,2 for only upload,3 for only download. -1 for paused
//lastSyncTime, use Qt::currentDateTime() to get the current time
QDateTime lastSyncTime;
AWSUtils* awsutils;

public:
SyncTask(QString localPath, QString remotePath, int syncStatus, int id=-1);
Expand Down

0 comments on commit 5550afd

Please sign in to comment.