main.cpp 1.25 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>
dec's avatar
dec committed
6
 *  Łukasz Matysiak <december0123@gmail.com>
Philip Müller's avatar
Philip Müller committed
7
 *  Filipe Marques <eagle.software3@gmail.com>
Philip Müller's avatar
Philip Müller committed
8
 *
Philip Müller's avatar
fix #22  
Philip Müller committed
9
 *  Copyright (C) 2012 - 2016 Manjaro (http://manjaro.org)
Philip Müller's avatar
Philip Müller committed
10 11 12 13 14 15 16 17 18 19 20 21 22 23
 *
 *  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/>.
 */
24 25 26

#include <iostream>

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

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