main.cpp 1.29 KB
Newer Older
Philip Müller's avatar
Philip Müller committed
1
/*
2
 *  This file is part of the mhwd - Manjaro Hardware Detection project
3
 *
Philip Müller's avatar
Philip Müller committed
4 5
 *  mhwd - Manjaro Hardware Detection
 *  Roland Singer <roland@manjaro.org>
Philip Müller's avatar
Philip Müller committed
6
 *  Philip Müller <philm@manjaro.org>
dec's avatar
dec committed
7
 *  Łukasz Matysiak <december0123@gmail.com>
Philip Müller's avatar
Philip Müller committed
8
 *  Filipe Marques <eagle.software3@gmail.com>
Philip Müller's avatar
Philip Müller committed
9
 *
Philip Müller's avatar
Philip Müller committed
10
 *  Copyright (C) 2012 - 2017 Manjaro (http://manjaro.org)
Philip Müller's avatar
Philip Müller committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
25 26 27

#include <iostream>

Łukasz Matysiak's avatar
Łukasz Matysiak committed
28 29
#include "Mhwd.hpp"

Philip Müller's avatar
Philip Müller committed
30 31
int main(int argc, char *argv[])
{
32 33
    try
    {
34
        Mhwd mhwd;
Philip Müller's avatar
Philip Müller committed
35
        mhwd.setVersionMhwd("0.6.0","2012-2017");
36
        return mhwd.launch(argc, argv);
37 38 39
    }
    catch(...)
    {
40 41
        std::cerr << "Unknown errors occured...";
        return -1;
42
    }
Philip Müller's avatar
Philip Müller committed
43
}