Subversion Repositories tpanel

Rev

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

Rev 383 Rev 386
Line 1... Line 1...
1
/*
1
/*
2
 * Copyright (C) 2020, 2021 by Andreas Theofilu <andreas@theosys.at>
2
 * Copyright (C) 2020 to 2023 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 110... Line 110...
110
        bool enableObject(ulong handle);
110
        bool enableObject(ulong handle);
111
        bool enableAllSubObjects(ulong handle);
111
        bool enableAllSubObjects(ulong handle);
112
 
112
 
113
        static std::string objectToString(OBJECT_TYPE o);
113
        static std::string objectToString(OBJECT_TYPE o);
114
        void dropContent(OBJECT_t *obj, bool lock=true);
114
        void dropContent(OBJECT_t *obj, bool lock=true);
-
 
115
        void markDroped(ulong handle);
115
 
116
 
116
    private:
117
    private:
117
        std::mutex mutex_obj;
118
        std::mutex mutex_obj;
118
 
119
 
119
        std::map<ulong, OBJECT_t> mObjects;
120
        std::map<ulong, OBJECT_t> mObjects;