Commit 7e4145a8 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(app): refactoring `app` folder architecture

parent 85ecac9c
...@@ -78,12 +78,12 @@ endif() ...@@ -78,12 +78,12 @@ endif()
set(SOURCES set(SOURCES
src/app/App.cpp src/app/App.cpp
src/app/AsyncObjectBuilder.cpp src/app/logger/Logger.cpp
src/app/AvatarProvider.cpp src/app/object-builders/AsyncObjectBuilder.cpp
src/app/DefaultTranslator.cpp src/app/paths/Paths.cpp
src/app/Logger.cpp src/app/providers/AvatarProvider.cpp
src/app/Paths.cpp src/app/providers/ThumbnailProvider.cpp
src/app/ThumbnailProvider.cpp src/app/translator/DefaultTranslator.cpp
src/components/camera/Camera.cpp src/components/camera/Camera.cpp
src/components/camera/MSFunctions.cpp src/components/camera/MSFunctions.cpp
src/components/call/CallModel.cpp src/components/call/CallModel.cpp
...@@ -112,12 +112,12 @@ set(SOURCES ...@@ -112,12 +112,12 @@ set(SOURCES
set(HEADERS set(HEADERS
src/app/App.hpp src/app/App.hpp
src/app/AsyncObjectBuilder.hpp src/app/logger/Logger.hpp
src/app/AvatarProvider.hpp src/app/object-builders/AsyncObjectBuilder.hpp
src/app/DefaultTranslator.hpp src/app/paths/Paths.hpp
src/app/Logger.hpp src/app/providers/AvatarProvider.hpp
src/app/Paths.hpp src/app/providers/ThumbnailProvider.hpp
src/app/ThumbnailProvider.hpp src/app/translator/DefaultTranslator.hpp
src/components/camera/Camera.hpp src/components/camera/Camera.hpp
src/components/camera/MSFunctions.hpp src/components/camera/MSFunctions.hpp
src/components/call/CallModel.hpp src/components/call/CallModel.hpp
......
...@@ -31,11 +31,12 @@ ...@@ -31,11 +31,12 @@
#include "../components/timeline/TimelineModel.hpp" #include "../components/timeline/TimelineModel.hpp"
#include "../utils.hpp" #include "../utils.hpp"
#include "logger/Logger.hpp"
#include "providers/AvatarProvider.hpp"
#include "providers/ThumbnailProvider.hpp"
#include "translator/DefaultTranslator.hpp"
#include "App.hpp" #include "App.hpp"
#include "AvatarProvider.hpp"
#include "DefaultTranslator.hpp"
#include "Logger.hpp"
#include "ThumbnailProvider.hpp"
#include <QDir> #include <QDir>
#include <QFileSelector> #include <QFileSelector>
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include "../components/notifier/Notifier.hpp" #include "../components/notifier/Notifier.hpp"
#include "../externals/single-application/SingleApplication.hpp" #include "../externals/single-application/SingleApplication.hpp"
#include "AsyncObjectBuilder.hpp" #include "object-builders/AsyncObjectBuilder.hpp"
#include <QCommandLineParser> #include <QCommandLineParser>
#include <QQmlApplicationEngine> #include <QQmlApplicationEngine>
......
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
#include <linphone/linphonecore.h> #include <linphone/linphonecore.h>
#include <QDateTime> #include <QDateTime>
#include "../utils.hpp" #include "../../utils.hpp"
#include "Paths.hpp" #include "../paths/Paths.hpp"
#include "Logger.hpp" #include "Logger.hpp"
......
...@@ -25,8 +25,8 @@ ...@@ -25,8 +25,8 @@
#include <functional> #include <functional>
#include <QQmlEngine>
#include <QQmlComponent> #include <QQmlComponent>
#include <QQmlEngine>
// ============================================================================= // =============================================================================
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <QStandardPaths> #include <QStandardPaths>
#include <QtDebug> #include <QtDebug>
#include "../utils.hpp" #include "../../utils.hpp"
#include "Paths.hpp" #include "Paths.hpp"
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
* Author: Ronan Abhamon * Author: Ronan Abhamon
*/ */
#include "Paths.hpp" #include "../../utils.hpp"
#include "../utils.hpp" #include "../paths/Paths.hpp"
#include "AvatarProvider.hpp" #include "AvatarProvider.hpp"
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
* Author: Ronan Abhamon * Author: Ronan Abhamon
*/ */
#include "Paths.hpp" #include "../../utils.hpp"
#include "../utils.hpp" #include "../paths/Paths.hpp"
#include "ThumbnailProvider.hpp" #include "ThumbnailProvider.hpp"
......
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
#include <QUuid> #include <QUuid>
#include "../../app/App.hpp" #include "../../app/App.hpp"
#include "../../app/Paths.hpp" #include "../../app/paths/Paths.hpp"
#include "../../app/ThumbnailProvider.hpp" #include "../../app/providers/ThumbnailProvider.hpp"
#include "../../utils.hpp" #include "../../utils.hpp"
#include "../core/CoreManager.hpp" #include "../core/CoreManager.hpp"
......
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
#include <QUuid> #include <QUuid>
#include "../../app/App.hpp" #include "../../app/App.hpp"
#include "../../app/AvatarProvider.hpp" #include "../../app/paths/Paths.hpp"
#include "../../app/Paths.hpp" #include "../../app/providers/AvatarProvider.hpp"
#include "../../utils.hpp" #include "../../utils.hpp"
#include "../core/CoreManager.hpp" #include "../core/CoreManager.hpp"
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
* Author: Ronan Abhamon * Author: Ronan Abhamon
*/ */
#include "../../app/paths/Paths.hpp"
#include "../../utils.hpp" #include "../../utils.hpp"
#include "../../app/Paths.hpp"
#include "CoreManager.hpp" #include "CoreManager.hpp"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <QDir> #include <QDir>
#include "../../app/Paths.hpp" #include "../../app/paths/Paths.hpp"
#include "../../utils.hpp" #include "../../utils.hpp"
#include "../core/CoreManager.hpp" #include "../core/CoreManager.hpp"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment