print components versions in uname winix function
This commit is contained in:
1 parent
31e826d893
commit
b484071818
7 files changed
+121
-6
No files matched your search
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008-2018, Tomasz Sowa
|
||||
* Copyright (c) 2008-2022, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -35,6 +35,10 @@
|
||||
#include "templates.h"
|
||||
#include "core/request.h"
|
||||
#include "core/version.h"
|
||||
#include "pikotools/version.h"
|
||||
#include "ezc.h"
|
||||
#include "tito.h"
|
||||
|
||||
|
||||
|
||||
namespace Winix
|
||||
@@ -66,6 +70,83 @@ void sys_ver_revision(Info & i)
|
||||
|
||||
|
||||
|
||||
void sys_pikotools_ver_major(Info & i)
|
||||
{
|
||||
i.out << PIKOTOOLS_VERSION_MAJOR;
|
||||
}
|
||||
|
||||
|
||||
void sys_pikotools_ver_minor(Info & i)
|
||||
{
|
||||
i.out << PIKOTOOLS_VERSION_MINOR;
|
||||
}
|
||||
|
||||
|
||||
void sys_pikotools_ver_patch(Info & i)
|
||||
{
|
||||
i.out << PIKOTOOLS_VERSION_PATCH;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void sys_morm_ver_major(Info & i)
|
||||
{
|
||||
i.out << MORM_VERSION_MAJOR;
|
||||
}
|
||||
|
||||
|
||||
void sys_morm_ver_minor(Info & i)
|
||||
{
|
||||
i.out << MORM_VERSION_MINOR;
|
||||
}
|
||||
|
||||
|
||||
void sys_morm_ver_patch(Info & i)
|
||||
{
|
||||
i.out << MORM_VERSION_PATCH;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void sys_ezc_ver_major(Info & i)
|
||||
{
|
||||
i.out << EZC_VERSION_MAJOR;
|
||||
}
|
||||
|
||||
|
||||
void sys_ezc_ver_minor(Info & i)
|
||||
{
|
||||
i.out << EZC_VERSION_MINOR;
|
||||
}
|
||||
|
||||
|
||||
void sys_ezc_ver_patch(Info & i)
|
||||
{
|
||||
i.out << EZC_VERSION_PATCH;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void sys_tito_ver_major(Info & i)
|
||||
{
|
||||
i.out << TITO_VERSION_MAJOR;
|
||||
}
|
||||
|
||||
|
||||
void sys_tito_ver_minor(Info & i)
|
||||
{
|
||||
i.out << TITO_VERSION_MINOR;
|
||||
}
|
||||
|
||||
|
||||
void sys_tito_ver_patch(Info & i)
|
||||
{
|
||||
i.out << TITO_VERSION_PATCH;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
static size_t sys_plugin_index = 0;
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user