GnuCash  5.6-150-g038405b370+
gnc-commodity.hpp
Go to the documentation of this file.
1 /**********************************************************************
2  * gnc-commodity.hpp -- API for tradable commodities (incl. currency) *
3  * *
4  * This program is free software; you can redistribute it and/or *
5  * modify it under the terms of the GNU General Public License as *
6  * published by the Free Software Foundation; either version 2 of *
7  * the License, or (at your option) any later version. *
8  * *
9  * This program is distributed in the hope that it will be useful, *
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12  * GNU General Public License for more details. *
13  * *
14  * You should have received a copy of the GNU General Public License *
15  * along with this program; if not, contact: *
16  * *
17  * Free Software Foundation Voice: +1-617-542-5942 *
18  * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
19  * Boston, MA 02110-1301, USA gnu@gnu.org *
20  * *
21  *********************************************************************/
22 
33 #ifndef GNC_COMMODITY_HPP
34 #define GNC_COMMODITY_HPP
35 
36 #include <vector>
37 
38 #include <gnc-commodity.h>
39 
40 using CommVec = std::vector<gnc_commodity*>;
41 
51 void gnc_quote_source_set_fq_installed (const char* version_string,
52  const std::vector<std::string>& sources_list);
53 
54 #endif /* GNC_COMMODITY_HPP */
55 
void gnc_quote_source_set_fq_installed(const char *version_string, const std::vector< std::string > &sources_list)
Update gnucash internal tables based on what Finance::Quote sources are installed.
Commodity handling public routines.