/usr/include/Attribute/_comutil.h is in ivtools-dev 1.2.11a1-11.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | #ifndef __comutil_h
#define __comutil_h
// extern "C" {
#include <ComUtil/comutil.h>
// }
//: define methods for a class name and class symbol id.
// adds ::class_name() and ::class_symid() based on 'name' to any
// class definition. For use in servers built on ComTerp for generating a
// unique id for a given type of component.
#define CLASS_SYMID(name) \
public: \
static const char* class_name() {return name;}\
static int class_symid()\
{ if (_symid<0) _symid=symbol_add((char*)class_name()); return _symid;} \
virtual int classid()\
{ if (_symid<0) _symid=symbol_add((char*)class_name()); return _symid;} \
protected: \
static int _symid;
//: define methods for a class name and class symbol id.
// adds ::class_name() and ::class_symid() based on 'name' to any
// class definition. For use in servers built on ComTerp for generating a
// unique id for a given type of component.
// Will eventually tie it to the Unidraw class inheritance system of ::IsA
#define CLASS_SYMID2(name, uclass_id) \
public: \
static const char* class_name() {return name;}\
static int class_symid()\
{ if (_symid<0) _symid=symbol_add((char*)class_name()); return _symid;} \
virtual int classid()\
{ if (_symid<0) _symid=symbol_add((char*)class_name()); return _symid;} \
protected: \
static int _symid;
#endif /* !defined(__comutil.h) */
|