Cppcheck
lib
addoninfo.h
Go to the documentation of this file.
1
/*
2
* Cppcheck - A tool for static C/C++ code analysis
3
* Copyright (C) 2007-2023 Cppcheck team.
4
*
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation, either version 3 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#ifndef addonInfoH
20
#define addonInfoH
21
22
#include "
config.h
"
23
24
#include <string>
25
26
struct
CPPCHECKLIB
AddonInfo
{
27
std::string
name
;
28
std::string
scriptFile
;
// addon script
29
std::string
executable
;
// addon executable
30
std::string
args
;
// special extra arguments
31
std::string
python
;
// script interpreter
32
bool
ctu =
false
;
33
std::string
runScript
;
34
35
std::string getAddonInfo(
const
std::string &fileName,
const
std::string &exename);
36
};
37
38
#endif
// addonInfoH
config.h
CPPCHECKLIB
#define CPPCHECKLIB
Definition:
config.h:35
AddonInfo
Definition:
addoninfo.h:26
AddonInfo::args
std::string args
Definition:
addoninfo.h:30
AddonInfo::scriptFile
std::string scriptFile
Definition:
addoninfo.h:28
AddonInfo::name
std::string name
Definition:
addoninfo.h:27
AddonInfo::python
std::string python
Definition:
addoninfo.h:31
AddonInfo::runScript
std::string runScript
Definition:
addoninfo.h:33
AddonInfo::executable
std::string executable
Definition:
addoninfo.h:29
Generated on Tue May 14 2024 11:53:13 for Cppcheck by
1.9.1