mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-19 03:01:28 +00:00
26 lines
580 B
C
26 lines
580 B
C
|
#ifndef __ruamoko_Protocol_h
|
||
|
#define __ruamoko_Protocol_h
|
||
|
|
||
|
#include "Object.h"
|
||
|
|
||
|
struct obj_method_description {
|
||
|
string name;
|
||
|
string types;
|
||
|
};
|
||
|
|
||
|
@interface Protocol : Object
|
||
|
{
|
||
|
@private
|
||
|
string protocol_name;
|
||
|
struct obj_protocol_list [] protocol_list;
|
||
|
struct obj_method_description_list [] instance_methods, class_methods;
|
||
|
}
|
||
|
|
||
|
- (string) name;
|
||
|
- (BOOL) conformsTo: (Protocol)aProtocolObject;
|
||
|
- (struct obj_method_description []) descriptionForInstanceMethod: (SEL)aSel;
|
||
|
- (struct obj_method_description []) descriptionForClassMethod: (SEL)aSel;
|
||
|
@end
|
||
|
|
||
|
#endif//__ruamoko_Protocol_h
|