summaryrefslogtreecommitdiff
path: root/src/base/idManager.h
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-13 18:45:15 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-07-13 18:45:15 +0000
commite792ee9cbe5191fcc81273b65bdb4ac9108435d5 (patch)
tree2238fccffd4265bccb14d23a958ec2cec8f6a2f1 /src/base/idManager.h
parentbb15df3f3428df7cd2a4482adebcdaa6fc2f516e (diff)
- ID manager pocita pocet referencii na ID
- oprava chyb, suvisiaca so zlym spravovanim ID - oprava chyby, objekt sa neda pridat mimo priestor ( to uz pisem druhy krat do commnitu ;) ) git-svn-id: http://opensvn.csie.org/tuxanci_ng@127 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/base/idManager.h')
-rw-r--r--src/base/idManager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/base/idManager.h b/src/base/idManager.h
index 62e2651..a261316 100644
--- a/src/base/idManager.h
+++ b/src/base/idManager.h
@@ -10,8 +10,10 @@
#include "list.h"
extern void initListID();
-extern int getNewID();
extern int isRegisterID(int id);
+extern int getNewIDcount(int count);
+extern int getNewID();
+extern void incID(int id);
extern void delID(int id);
extern void replaceID(int old_id, int new_id);
extern void quitListID();