5#include "slideio/core/slideio_core_def.hpp"
8 class SLIDEIO_CORE_EXPORTS RefCounter
11 void increaseCounter() {
16 void decreaseCounter() {
22 virtual void initializeCounter(){};
23 virtual void cleanCounter(){};
28 class SLIDEIO_CORE_EXPORTS RefCounterGuard
31 RefCounterGuard(RefCounter* counter) : m_counter(counter) {
32 m_counter->increaseCounter();
35 m_counter->decreaseCounter();
37 RefCounter* m_counter;
Definition: exceptions.hpp:12