Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
mhwd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
30
Issues
30
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
2
Merge Requests
2
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Applications
mhwd
Commits
4592f4fb
Commit
4592f4fb
authored
Mar 07, 2015
by
Philip Müller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix intentions
parent
d2631358
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
25 additions
and
26 deletions
+25
-26
src/Config.cpp
src/Config.cpp
+1
-1
src/Config.hpp
src/Config.hpp
+1
-1
src/Data.cpp
src/Data.cpp
+1
-1
src/Data.hpp
src/Data.hpp
+1
-1
src/Device.cpp
src/Device.cpp
+1
-1
src/Device.hpp
src/Device.hpp
+1
-1
src/Enums.hpp
src/Enums.hpp
+1
-1
src/Mhwd.cpp
src/Mhwd.cpp
+1
-1
src/Mhwd.hpp
src/Mhwd.hpp
+3
-4
src/Printer.cpp
src/Printer.cpp
+7
-8
src/Printer.hpp
src/Printer.hpp
+3
-2
src/Transaction.cpp
src/Transaction.cpp
+1
-1
src/Transaction.hpp
src/Transaction.hpp
+1
-1
src/main.cpp
src/main.cpp
+2
-2
No files found.
src/Config.cpp
View file @
4592f4fb
...
...
@@ -4,7 +4,7 @@
* mhwd - Manjaro Hardware Detection
* Roland Singer <roland@manjaro.org>
* Łukasz Matysiak <december0123@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
* Copyright (C) 2007 Free Software Foundation, Inc.
*
...
...
src/Config.hpp
View file @
4592f4fb
...
...
@@ -4,7 +4,7 @@
* mhwd - Manjaro Hardware Detection
* Roland Singer <roland@manjaro.org>
* Łukasz Matysiak <december0123@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
* Copyright (C) 2007 Free Software Foundation, Inc.
*
...
...
src/Data.cpp
View file @
4592f4fb
...
...
@@ -4,7 +4,7 @@
* mhwd - Manjaro Hardware Detection
* Roland Singer <roland@manjaro.org>
* Łukasz Matysiak <december0123@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
* Copyright (C) 2007 Free Software Foundation, Inc.
*
...
...
src/Data.hpp
View file @
4592f4fb
...
...
@@ -4,7 +4,7 @@
* mhwd - Manjaro Hardware Detection
* Roland Singer <roland@manjaro.org>
* Łukasz Matysiak <december0123@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
* Copyright (C) 2007 Free Software Foundation, Inc.
*
...
...
src/Device.cpp
View file @
4592f4fb
...
...
@@ -4,7 +4,7 @@
* mhwd - Manjaro Hardware Detection
* Roland Singer <roland@manjaro.org>
* Łukasz Matysiak <december0123@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
* Copyright (C) 2007 Free Software Foundation, Inc.
*
...
...
src/Device.hpp
View file @
4592f4fb
...
...
@@ -4,7 +4,7 @@
* mhwd - Manjaro Hardware Detection
* Roland Singer <roland@manjaro.org>
* Łukasz Matysiak <december0123@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
* Copyright (C) 2007 Free Software Foundation, Inc.
*
...
...
src/Enums.hpp
View file @
4592f4fb
...
...
@@ -4,7 +4,7 @@
* mhwd - Manjaro Hardware Detection
* Roland Singer <roland@manjaro.org>
* Łukasz Matysiak <december0123@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
* Copyright (C) 2007 Free Software Foundation, Inc.
*
...
...
src/Mhwd.cpp
View file @
4592f4fb
...
...
@@ -4,7 +4,7 @@
* mhwd - Manjaro Hardware Detection
* Roland Singer <roland@manjaro.org>
* Łukasz Matysiak <december0123@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
* Copyright (C) 2007 Free Software Foundation, Inc.
*
...
...
src/Mhwd.hpp
View file @
4592f4fb
...
...
@@ -4,7 +4,7 @@
* mhwd - Manjaro Hardware Detection
* Roland Singer <roland@manjaro.org>
* Łukasz Matysiak <december0123@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
* Copyright (C) 2007 Free Software Foundation, Inc.
*
...
...
@@ -50,7 +50,7 @@ class Mhwd
public:
Mhwd
();
~
Mhwd
()
=
default
;
void
setVersionMhwd
(
std
::
string
versionOfSoftware
,
std
::
string
yearCopyright
);
void
setVersionMhwd
(
std
::
string
versionOfSoftware
,
std
::
string
yearCopyright
);
int
launch
(
int
argc
,
char
*
argv
[]);
private:
...
...
@@ -73,8 +73,7 @@ private:
Data
data_
;
Printer
printer_
;
std
::
vector
<
std
::
string
>
configs_
;
std
::
string
version_
,
year_
;
std
::
string
version_
,
year_
;
bool
performTransaction
(
std
::
shared_ptr
<
Config
>
config
,
MHWD
::
TRANSACTIONTYPE
type
);
bool
isUserRoot
()
const
;
...
...
src/Printer.cpp
View file @
4592f4fb
...
...
@@ -4,7 +4,7 @@
* mhwd - Manjaro Hardware Detection
* Roland Singer <roland@manjaro.org>
* Łukasz Matysiak <december0123@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
* Copyright (C) 2007 Free Software Foundation, Inc.
*
...
...
@@ -84,7 +84,7 @@ void Printer::printHelp() const
<<
" --pci
\t\t\t\t\t
list only pci devices and driver configs
\n
"
<<
" --usb
\t\t\t\t\t
list only usb devices and driver configs
\n
"
<<
" -h/--help
\t\t\t\t
show help
\n
"
<<
" -v/--version
\t\t\t\t
show version of mhwd
\n
"
<<
" -v/--version
\t\t\t\t
show version of mhwd
\n
"
<<
" -f/--force
\t\t\t\t
force reinstallation
\n
"
<<
" -d/--detail
\t\t\t\t
show detailed info for -l/-li/-lh
\n
"
<<
" -l/--list
\t\t\t\t
list available configs for devices
\n
"
...
...
@@ -102,12 +102,11 @@ void Printer::printHelp() const
void
Printer
::
printVersion
(
std
::
string
versionMhwd
,
std
::
string
yearCopy
)
const
{
std
::
cout
<<
"Manjaro Hardware Detection version "
<<
versionMhwd
<<
"
\n\n
"
<<
"Copyright (C) "
<<
yearCopy
<<
" Manjaro Linux Developers
\n
"
<<
"This is free software licensed under GNU GPL v.3
\n
"
<<
"There is NO warranty; not even for MERCHANTABILITY or
\n
"
<<
"FITNESS FOR A PARTICULAR PURPOSE.
\n
"
<<
std
::
endl
;
std
::
cout
<<
"Manjaro Hardware Detection version "
<<
versionMhwd
<<
"
\n\n
"
<<
"Copyright (C) "
<<
yearCopy
<<
" Manjaro Linux Developers
\n
"
<<
"This is free software licensed under GNU GPL v.3
\n
"
<<
"FITNESS FOR A PARTICULAR PURPOSE.
\n
"
<<
std
::
endl
;
}
void
Printer
::
listDevices
(
const
std
::
vector
<
std
::
shared_ptr
<
Device
>>&
devices
,
std
::
string
type
)
const
...
...
src/Printer.hpp
View file @
4592f4fb
...
...
@@ -4,7 +4,7 @@
* mhwd - Manjaro Hardware Detection
* Roland Singer <roland@manjaro.org>
* Łukasz Matysiak <december0123@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
* Copyright (C) 2007 Free Software Foundation, Inc.
*
...
...
@@ -41,7 +41,8 @@ public:
void
printMessage
(
MHWD
::
MESSAGETYPE
type
,
std
::
string
str
)
const
;
void
printHelp
()
const
;
void
printVersion
(
std
::
string
versionMhwd
,
std
::
string
yearCopy
)
const
;
void
listDevices
(
const
std
::
vector
<
std
::
shared_ptr
<
Device
>>&
devices
,
std
::
string
typeOfDevice
)
const
;
void
listDevices
(
const
std
::
vector
<
std
::
shared_ptr
<
Device
>>&
devices
,
std
::
string
typeOfDevice
)
const
;
void
listConfigs
(
const
std
::
vector
<
std
::
shared_ptr
<
Config
>>&
configs
,
std
::
string
header
)
const
;
void
printAvailableConfigsInDetail
(
const
std
::
string
&
deviceType
,
...
...
src/Transaction.cpp
View file @
4592f4fb
...
...
@@ -4,7 +4,7 @@
* mhwd - Manjaro Hardware Detection
* Roland Singer <roland@manjaro.org>
* Łukasz Matysiak <december0123@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
* Copyright (C) 2007 Free Software Foundation, Inc.
*
...
...
src/Transaction.hpp
View file @
4592f4fb
...
...
@@ -4,7 +4,7 @@
* mhwd - Manjaro Hardware Detection
* Roland Singer <roland@manjaro.org>
* Łukasz Matysiak <december0123@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
* Copyright (C) 2007 Free Software Foundation, Inc.
*
...
...
src/main.cpp
View file @
4592f4fb
...
...
@@ -4,7 +4,7 @@
* mhwd - Manjaro Hardware Detection
* Roland Singer <roland@manjaro.org>
* Łukasz Matysiak <december0123@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
Filipe Marques <eagle.software3@gmail.com>
*
* Copyright (C) 2007 Free Software Foundation, Inc.
*
...
...
@@ -31,7 +31,7 @@ int main(int argc, char *argv[])
try
{
Mhwd
mhwd
;
mhwd
.
setVersionMhwd
(
"0.5.1
"
,
"2012 2013 2014 2015"
);
mhwd
.
setVersionMhwd
(
"0.5.2
"
,
"2012 2013 2014 2015"
);
return
mhwd
.
launch
(
argc
,
argv
);
}
catch
(...)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment