summaryrefslogtreecommitdiffstats
path: root/libmultimc/src/fullversion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libmultimc/src/fullversion.cpp')
-rw-r--r--libmultimc/src/fullversion.cpp26
1 files changed, 25 insertions, 1 deletions
diff --git a/libmultimc/src/fullversion.cpp b/libmultimc/src/fullversion.cpp
index 53664c2a..24047c9f 100644
--- a/libmultimc/src/fullversion.cpp
+++ b/libmultimc/src/fullversion.cpp
@@ -2,4 +2,28 @@
#include "fullversion.h"
#include <library.h>
-// ECHO, echo, echo, .... \ No newline at end of file
+QList<QSharedPointer<Library> > FullVersion::getActiveNormalLibs()
+{
+ QList<QSharedPointer<Library> > output;
+ for ( auto lib: libraries )
+ {
+ if (lib->getIsActive() && !lib->getIsNative())
+ {
+ output.append(lib);
+ }
+ }
+ return output;
+}
+
+QList<QSharedPointer<Library> > FullVersion::getActiveNativeLibs()
+{
+ QList<QSharedPointer<Library> > output;
+ for ( auto lib: libraries )
+ {
+ if (lib->getIsActive() && lib->getIsNative())
+ {
+ output.append(lib);
+ }
+ }
+ return output;
+}