Subversion Repositories tpanel

Rev

Rev 14 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14 Rev 21
Line 1... Line 1...
1
/*
1
/*
2
 * Copyright (C) 2020 by Andreas Theofilu <andreas@theosys.at>
2
 * Copyright (C) 2020, 2021 by Andreas Theofilu <andreas@theosys.at>
3
 *
3
 *
4
 * This program is free software; you can redistribute it and/or modify
4
 * This program is free software; you can redistribute it and/or modify
5
 * it under the terms of the GNU General Public License as published by
5
 * it under the terms of the GNU General Public License as published by
6
 * the Free Software Foundation; either version 3 of the License, or
6
 * the Free Software Foundation; either version 3 of the License, or
7
 * (at your option) any later version.
7
 * (at your option) any later version.
Line 116... Line 116...
116
        static void logHex(char *str, size_t size);
116
        static void logHex(char *str, size_t size);
117
        const TError& operator=(const TError& ref);
117
        const TError& operator=(const TError& ref);
118
        static void lock();
118
        static void lock();
119
        static void unlock();
119
        static void unlock();
120
 
120
 
-
 
121
    protected:
-
 
122
        static std::string strToHex(const char *str, size_t size, int width, bool format, int indent);
-
 
123
 
121
    private:
124
    private:
-
 
125
        static std::string toHex(int num, int width);
122
        TError() {};
126
        TError() {};
123
        ~TError();
127
        ~TError();
124
 
128
 
125
        static std::string msError;
129
        static std::string msError;
126
        static bool mHaveError;
130
        static bool mHaveError;