acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
summary.h
1//
2// Created by camilo on 07/04/23.
3// From distro__release_and_desktop_environment to operating_system_summary on 2023-04-10 18:56 by camilo <3ThomasBorregaardSorensen!!
4//
5#pragma once
6
7//contains() {
8// string="$1"
9// substring="$2"
10// if test "${string#*$substring}" != "$string"
11// then
12// return 0 # $substring is in $string
13// else
14// return 1 # $substring is not in $string
15// fi
16//}
17//
18
19namespace operating_system
20{
21
22
23 class CLASS_DECL_ACME summary :
24 virtual public ::particle
25 {
26 public:
27
28
29 ::string m_strName;
30
31 ::string m_strFriendlyName;
32
33 ::string m_strSystemName;
34 ::string m_strSystemFamilyName;
35 ::string m_strSystemBranchName;
36 ::string m_strSystemReleaseName;
37
38 ::string m_strAmbientName;
39
40 ::string m_strSystem;
41 ::string m_strSystemFamily;
42 ::string m_strSystemBranch;
43 ::string m_strSystemRelease;
44 ::string m_strSystemArchitecture;
45
46 ::string m_strAmbient;
47
48 ::string m_strSystemAmbientReleaseArchitecture;
49
50 ::i32 m_iMajor;
51 ::i32 m_iMinor;
52 ::i32 m_iPatch;
53
54 ::string m_strIntegrationRelease;
55 ::string m_strStoreRelease;
56
57 ::string m_strSudoInstall;
58 ::string m_strStandardPackageFileExtension;
59 ::string m_strPackagePlatform;
60
61
62 ::string m_strTerminal;
63
64
65 ::string m_strPathPrefix;
66
67 summary();
68 ~summary() override;
69
70
71 ::property_set get_property_set() const;
72 ::string get_summary() const;
73 ::string id_payload_listing() const;
74 void set_ambient();
75
76 //
77 // void initialize(::particle *pparticle) override;
78 //
79
80 };
81
82
83} // namespace operating_system
84
85
86
Definition property_set.h:512