blob: 7ffe9a94e9658523a7f3b7cadced60c4b84164fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "OneSixVersion.h"
#include "OneSixLibrary.h"
QList<QSharedPointer<OneSixLibrary> > OneSixVersion::getActiveNormalLibs()
{
QList<QSharedPointer<OneSixLibrary> > output;
for ( auto lib: libraries )
{
if (lib->isActive() && !lib->isNative())
{
output.append(lib);
}
}
return output;
}
QList<QSharedPointer<OneSixLibrary> > OneSixVersion::getActiveNativeLibs()
{
QList<QSharedPointer<OneSixLibrary> > output;
for ( auto lib: libraries )
{
if (lib->isActive() && lib->isNative())
{
output.append(lib);
}
}
return output;
}
|