11 #ifndef CXSHAREDPOINTERCHECKER_H
12 #define CXSHAREDPOINTERCHECKER_H
14 #include "cxResourceExport.h"
16 #include "boost/shared_ptr.hpp"
28 cxResource_EXPORT
void requireUnique(
int use_count, QString objectName);
37 void requireUnique(
const boost::shared_ptr<T>&
object, QString objectName)
49 #endif // CXSHAREDPOINTERCHECKER_H