update credits
[librepilot.git] / ground / uavobjgenerator / generators / gcs / uavobjectgeneratorgcs.h
blob6936eea4bd62c106227594952cdb14a04f04ef27
1 /**
2 ******************************************************************************
4 * @file uavobjectgeneratorgcs.h
5 * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
6 * @brief produce gcs code for uavobjects
8 * @see The GNU Public License (GPL) Version 3
10 *****************************************************************************/
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 3 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20 * for more details.
22 * You should have received a copy of the GNU General Public License along
23 * with this program; if not, write to the Free Software Foundation, Inc.,
24 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 #ifndef UAVOBJECTGENERATORGCS_H
28 #define UAVOBJECTGENERATORGCS_H
30 #define GCS_CODE_DIR "ground/gcs/src/plugins/uavobjects"
32 #include "../generator_common.h"
34 class UAVObjectGeneratorGCS {
35 public:
36 bool generate(UAVObjectParser *gen, QString templatepath, QString outputpath);
38 private:
39 bool process_object(ObjectInfo *info);
41 QString gcsCodeTemplate, gcsIncludeTemplate;
42 QDir gcsCodePath;
43 QDir gcsOutputPath;
46 #endif