quakeforge/ruamoko/include/Protocol.h
Bill Currie 75ec6bf244 Clean out some unnecessary types from the progs engine and clean up the mess.
This is a nasty commit, sorry, but 99% of the commit is interdependent.
2011-01-10 12:25:31 +09:00

25 lines
583 B
Objective-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