|
public:
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IMYCOM_IID)
/* void Hello (in string in_str, [retval] out string out_str); */
NS_IMETHOD Hello(const char *in_str, char **out_str) = 0;
};
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMYCOM /
NS_IMETHOD Hello(const char *in_str, char **out_str);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMYCOM(_to) /
NS_IMETHOD Hello(const char *in_str, char **out_str) { return _to Hello(in_str, out_str); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe
way. */
#define NS_FORWARD_SAFE_NSIMYCOM(_to) /
NS_IMETHOD Hello(const char *in_str, char **out_str) { return !_to ? NS_ERROR_NULL_POINTER : _to->Hello
(in_str, out_str); }
上一篇:字符串NDS_trim.h
下一篇:PHP 面向对象程序设计资源
|