GnuCash c935c2f+
Loading...
Searching...
No Matches
Public Member Functions
gnc_quote_source Struct Reference

Public Member Functions

bool get_supported () const
 
void set_supported (bool supported)
 
QuoteSourceType get_type () const
 
const char * get_user_name () const
 
const char * get_internal_name () const
 
 gnc_quote_source_s (gboolean supported, QuoteSourceType type, const char *username, const char *int_name)
 

Detailed Description

Definition at line 149 of file gnc-commodity.cpp.

Constructor & Destructor Documentation

◆ gnc_quote_source_s()

gnc_quote_source::gnc_quote_source_s ( gboolean  supported,
QuoteSourceType  type,
const char *  username,
const char *  int_name 
)
inline

Definition at line 162 of file gnc-commodity.cpp.

164 : m_supported{supported}
165 , m_type{type}
166 , m_user_name{username ? username : ""}
167 , m_internal_name{int_name ? int_name: ""} { };

Member Function Documentation

◆ get_internal_name()

const char * gnc_quote_source::get_internal_name ( ) const
inline

Definition at line 161 of file gnc-commodity.cpp.

161{ return m_internal_name.c_str(); }

◆ get_supported()

bool gnc_quote_source::get_supported ( ) const
inline

Definition at line 157 of file gnc-commodity.cpp.

157{ return m_supported; }

◆ get_type()

QuoteSourceType gnc_quote_source::get_type ( ) const
inline

Definition at line 159 of file gnc-commodity.cpp.

159{ return m_type; }

◆ get_user_name()

const char * gnc_quote_source::get_user_name ( ) const
inline

Definition at line 160 of file gnc-commodity.cpp.

160{ return m_user_name.c_str(); }

◆ set_supported()

void gnc_quote_source::set_supported ( bool  supported)
inline

Definition at line 158 of file gnc-commodity.cpp.

158{ m_supported = supported; }

The documentation for this struct was generated from the following file: