mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 00:06:44 -04:00
*** empty log message ***
This commit is contained in:
parent
232a4d84c3
commit
64d8035de4
@ -124,15 +124,26 @@ INLINE ostream &operator << (ostream &out, NotifyCategoryProxy<GetCategory> &pro
|
||||
#else // WIN32_VC
|
||||
|
||||
#define NotifyCategoryDecl(basename, expcl, exptp) \
|
||||
class expcl NotifyCategoryGetCategory_ ## basename { \
|
||||
class NotifyCategoryGetCategory_ ## basename { \
|
||||
public: \
|
||||
NotifyCategoryGetCategory_ ## basename(); \
|
||||
static NotifyCategory *get_category(); \
|
||||
}; \
|
||||
extern expcl NotifyCategoryProxy<NotifyCategoryGetCategory_ ## basename> basename ## _cat;
|
||||
extern NotifyCategoryProxy<NotifyCategoryGetCategory_ ## basename> basename ## _cat;
|
||||
|
||||
#endif // WIN32_VC
|
||||
|
||||
// This macro is the same as the above, except that it declares a category
|
||||
// that is not intended to be exported from any DLL.
|
||||
|
||||
#define NotifyCategoryDeclNoExport(basename) \
|
||||
class NotifyCategoryGetCategory_ ## basename { \
|
||||
public: \
|
||||
NotifyCategoryGetCategory_ ## basename(); \
|
||||
static NotifyCategory *get_category(); \
|
||||
}; \
|
||||
extern NotifyCategoryProxy<NotifyCategoryGetCategory_ ## basename> basename ## _cat;
|
||||
|
||||
// This macro defines the actual declaration of the
|
||||
// NotifyCategoryProxy object defined above; it should appear in the
|
||||
// config_*.C file. In this macro, parent_category may either be the
|
||||
|
@ -294,14 +294,15 @@ PUBLISHED:
|
||||
// get_class_type().
|
||||
virtual TypeHandle get_type() const=0;
|
||||
|
||||
INLINE bool is_of_type(TypeHandle handle) const;
|
||||
INLINE bool is_exact_type(TypeHandle handle) const;
|
||||
|
||||
public:
|
||||
// Derived classes should override this function to call
|
||||
// init_type(). It will only be called in error situations when the
|
||||
// type was for some reason not properly initialized.
|
||||
virtual TypeHandle force_init_type()=0;
|
||||
|
||||
INLINE bool is_of_type(TypeHandle handle) const;
|
||||
INLINE bool is_exact_type(TypeHandle handle) const;
|
||||
|
||||
public:
|
||||
static TypeHandle get_class_type() {
|
||||
return _type_handle;
|
||||
|
Loading…
x
Reference in New Issue
Block a user