X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=blobdiff_plain;f=ftdipp%2Fftdi.hpp;h=dc035cc92bce45c62ab41602b11f42853299a545;hp=a0e7235c4b6cee45d32b0f5479744a2c44d0372b;hb=06358114cd5be4e72058048fa9b82f8fc060ca26;hpb=dcd7e8a307f75474afb23bd5da7048db91faeaa1 diff --git a/ftdipp/ftdi.hpp b/ftdipp/ftdi.hpp index a0e7235..dc035cc 100644 --- a/ftdipp/ftdi.hpp +++ b/ftdipp/ftdi.hpp @@ -2,11 +2,11 @@ ftdi.hpp - C++ wrapper for libftdi ------------------- begin : Mon Oct 13 2008 - copyright : (C) 2008-2014 by Marek Vavruša and libftdi developers + copyright : (C) 2008-2017 by Marek Vavruša and libftdi developers email : opensource@intra2net.com and marek@vavrusa.com ***************************************************************************/ /* -Copyright (C) 2008-2014 by Marek Vavruša and libftdi developers +Copyright (C) 2008-2017 by Marek Vavruša and libftdi developers The software in this package is distributed under the GNU General Public License version 2 (with a special exception described below). @@ -131,11 +131,11 @@ public: int read_pins(unsigned char *pins); /* Misc */ - char* error_string(); + const char* error_string(); protected: - int get_strings(); - int get_strings_and_reopen(); + int get_strings(bool vendor=true, bool description=true, bool serial=true); + int get_strings_and_reopen(bool vendor=true, bool description=true, bool serial=true); /* Properties */ struct ftdi_context* context();