17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#import <ObjFW/OFObject.h>
@class OFString;
@interface IRCChannel: OFObject
{
OFString *name;
}
@property (readonly) OFString *name;
+ channelWithName: (OFString*)name;
- initWithName: (OFString*)name;
@end
|
>
>
>
>
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
#import <ObjFW/OFObject.h>
#import <ObjFW/OFSet.h>
@class OFString;
@interface IRCChannel: OFObject
{
OFString *name;
OFMutableSet *users;
}
@property (readonly) OFString *name;
@property (copy) OFSet *users;
+ channelWithName: (OFString*)name;
- initWithName: (OFString*)name;
- (void)IRC_addUser: (OFString*)user;
- (void)IRC_removeUser: (OFString*)user;
@end
|