Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NOISSUE add linux distro name and release stats to analytics
Hopefully this can serve as some sort of guideline for focusing effort towards the right distro packages to make.
- Loading branch information
Showing
10 changed files
with
420 additions
and
1 deletion.
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
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
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
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#include "sys.h" | ||
#include <QString> | ||
|
||
namespace Sys { | ||
struct LsbInfo | ||
{ | ||
QString distributor; | ||
QString version; | ||
QString description; | ||
QString codename; | ||
}; | ||
|
||
bool main_lsb_info(LsbInfo & out); | ||
bool fallback_lsb_info(Sys::LsbInfo & out); | ||
void lsb_postprocess(Sys::LsbInfo & lsb, Sys::DistributionInfo & out); | ||
Sys::DistributionInfo read_lsb_release(); | ||
|
||
QString _extract_distribution(const QString & x); | ||
QString _extract_version(const QString & x); | ||
Sys::DistributionInfo read_legacy_release(); | ||
|
||
Sys::DistributionInfo read_os_release(); | ||
} |
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
Oops, something went wrong.