-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes header includes syntax for linux
Adds ProccessListloader
- Loading branch information
1 parent
eeb6884
commit 6a33cf5
Showing
29 changed files
with
13,446 additions
and
8,849 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,43 @@ | ||
# Prerequisites | ||
*.d | ||
|
||
# Compiled Object files | ||
*.slo | ||
*.lo | ||
*.o | ||
*.obj | ||
|
||
# Precompiled Headers | ||
*.gch | ||
*.pch | ||
|
||
# Compiled Dynamic libraries | ||
*.so | ||
*.dylib | ||
*.dll | ||
|
||
# Fortran module files | ||
*.mod | ||
*.smod | ||
|
||
# Compiled Static libraries | ||
*.lai | ||
*.la | ||
*.a | ||
*.lib | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
|
||
# Executable folders | ||
debug/ | ||
release/ | ||
|
||
# vscode files | ||
.vscode/ | ||
# Prerequisites | ||
*.d | ||
|
||
# Compiled Object files | ||
*.slo | ||
*.lo | ||
*.o | ||
*.obj | ||
|
||
# Precompiled Headers | ||
*.gch | ||
*.pch | ||
|
||
# Compiled Dynamic libraries | ||
*.so | ||
*.dylib | ||
*.dll | ||
|
||
# Fortran module files | ||
*.mod | ||
*.smod | ||
|
||
# Compiled Static libraries | ||
*.lai | ||
*.la | ||
*.a | ||
*.lib | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
|
||
# Executable folders | ||
bin/ | ||
debug/ | ||
release/ | ||
|
||
# Objects folder | ||
build/ | ||
|
||
# vscode files | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
QMAKE_CXX.QT_COMPILER_STDCXX = 201402L | ||
QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 6 | ||
QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3 | ||
QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0 | ||
QMAKE_CXX.COMPILER_MACROS = \ | ||
QT_COMPILER_STDCXX \ | ||
QMAKE_GCC_MAJOR_VERSION \ | ||
QMAKE_GCC_MINOR_VERSION \ | ||
QMAKE_GCC_PATCH_VERSION | ||
QMAKE_CXX.INCDIRS = \ | ||
c:/mingw/lib/gcc/mingw32/6.3.0/include/c++ \ | ||
c:/mingw/lib/gcc/mingw32/6.3.0/include/c++/mingw32 \ | ||
c:/mingw/lib/gcc/mingw32/6.3.0/include/c++/backward \ | ||
c:/mingw/lib/gcc/mingw32/6.3.0/include \ | ||
c:/mingw/include \ | ||
c:/mingw/lib/gcc/mingw32/6.3.0/include-fixed | ||
QMAKE_CXX.LIBDIRS = \ | ||
c:/mingw/lib/gcc/mingw32/6.3.0 \ | ||
c:/mingw/lib/gcc \ | ||
c:/mingw/mingw32/lib \ | ||
c:/mingw/lib | ||
QMAKE_CXX.QT_COMPILER_STDCXX = 201402L | ||
QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 6 | ||
QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 3 | ||
QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0 | ||
QMAKE_CXX.COMPILER_MACROS = \ | ||
QT_COMPILER_STDCXX \ | ||
QMAKE_GCC_MAJOR_VERSION \ | ||
QMAKE_GCC_MINOR_VERSION \ | ||
QMAKE_GCC_PATCH_VERSION | ||
QMAKE_CXX.INCDIRS = \ | ||
c:/mingw/lib/gcc/mingw32/6.3.0/include/c++ \ | ||
c:/mingw/lib/gcc/mingw32/6.3.0/include/c++/mingw32 \ | ||
c:/mingw/lib/gcc/mingw32/6.3.0/include/c++/backward \ | ||
c:/mingw/lib/gcc/mingw32/6.3.0/include \ | ||
c:/mingw/include \ | ||
c:/mingw/lib/gcc/mingw32/6.3.0/include-fixed | ||
QMAKE_CXX.LIBDIRS = \ | ||
c:/mingw/lib/gcc/mingw32/6.3.0 \ | ||
c:/mingw/lib/gcc \ | ||
c:/mingw/mingw32/lib \ | ||
c:/mingw/lib |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# QTOS | ||
Proccess Scheduling and Memory Management Simulator Using QT | ||
# QTOS | ||
Proccess Scheduling and Memory Management Simulator Using QT |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,22 @@ | ||
HEADERS += src/mainwindow.h | ||
HEADERS += src/proccessbox.h | ||
HEADERS += src/operatingsystem.h | ||
HEADERS += src/memory.h | ||
HEADERS += src/scheduler.h | ||
HEADERS += src/proccesslist.h | ||
SOURCES += src/main.cpp | ||
SOURCES += src/mainwindow.cpp | ||
SOURCES += src/proccessbox.cpp | ||
SOURCES += src/operatingsystem.cpp | ||
SOURCES += src/proccess.cpp | ||
SOURCES += src/scheduler.cpp | ||
SOURCES += src/proccesslist.cpp | ||
|
||
QT += core | ||
QT += widgets | ||
|
||
TARGET = os-scheduling-simulator | ||
HEADERS += src/mainwindow.h | ||
HEADERS += src/proccessbox.h | ||
HEADERS += src/operatingsystem.h | ||
HEADERS += src/memory.h | ||
HEADERS += src/scheduler.h | ||
HEADERS += src/proccesslist.h | ||
HEADERS += src/proccesslistloader.h | ||
SOURCES += src/main.cpp | ||
SOURCES += src/mainwindow.cpp | ||
SOURCES += src/proccessbox.cpp | ||
SOURCES += src/operatingsystem.cpp | ||
SOURCES += src/proccess.cpp | ||
SOURCES += src/scheduler.cpp | ||
SOURCES += src/proccesslist.cpp | ||
SOURCES += src/proccesslistloader.cpp | ||
|
||
QT += core | ||
QT += widgets | ||
|
||
TARGET = os-scheduling-simulator | ||
DESTDIR = ./bin | ||
OBJECTS_DIR = ./build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
#include <QtWidgets\QApplication> | ||
#include "mainwindow.h" | ||
#include "operatingsystem.h" | ||
|
||
int main(int argc, char* args[]) | ||
{ | ||
QApplication app(argc, args); | ||
MainWindow mainWindow; | ||
mainWindow.show(); | ||
|
||
return app.exec(); | ||
} | ||
#include <QtWidgets/QApplication> | ||
#include "mainwindow.h" | ||
#include "operatingsystem.h" | ||
|
||
int main(int argc, char* args[]) | ||
{ | ||
OperatingSystem os = OperatingSystem(2, 1, SchedulingAlgorithm::FIFO); | ||
os.AddProccess(1, 4, 3, 2); | ||
os.AddProccess(2, 3, 3, 2); | ||
|
||
QApplication app(argc, args); | ||
MainWindow mainWindow; | ||
mainWindow.show(); | ||
|
||
return app.exec(); | ||
} |
Oops, something went wrong.