main.cpp 1.24 KB
Newer Older
Philip Müller's avatar
Philip Müller committed
1
/*
2 3
 *  This file is part of the mhwd - Manjaro Hardware Detection project
 *  
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>
7
 * 	Filipe Marques <eagle.software3@gmail.com>
Philip Müller's avatar
Philip Müller committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
 *
 *  Copyright (C) 2007 Free Software Foundation, Inc.
 *
 *  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

Philip Müller's avatar
Philip Müller committed
25 26
#include "Mhwd.hpp"

27 28
#include <iostream>

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