1 #ifndef MULTI_MEDIA_COUNTERS_H
2 #define MULTI_MEDIA_COUNTERS_H
8 template <
class idType>
29 template <
class idType>
32 template <
class idType>
35 template <
class idType>
38 if (multiMediaMask & 0xFF){
41 if (multiMediaMask & 0x0100){
44 if (multiMediaMask & 0x0200){
49 template <
class idType>
52 switch (multiMediaType){
54 if (!resourcesImg.find(resId)){
55 resourcesImg.add(resId,
true);
60 if (!resourcesVideo.find(resId)){
61 resourcesVideo.add(resId,
true);
66 if (!resourcesSound.find(resId)){
67 resourcesSound.add(resId,
true);
73 template <
class idType>
76 resourcesImg.del(resId);
77 resourcesVideo.del(resId);
78 resourcesSound.del(resId);
81 template <
class idType>
84 return resourcesImg.getNodesCount();
87 template <
class idType>
90 return resourcesVideo.getNodesCount();
93 template <
class idType>
96 return resourcesSound.getNodesCount();