Plugins/Purple Service/ESYahooJapanService.m
branchadium-1.5.11
changeset 6014 fcb71cb71a3d
parent 5941 307f53385811
parent 6013 f8d0dc659e3f
child 6016 325e2ab3406f
equal deleted inserted replaced
5941:307f53385811 6014:fcb71cb71a3d
     1 /* 
       
     2  * Adium is the legal property of its developers, whose names are listed in the copyright file included
       
     3  * with this source distribution.
       
     4  * 
       
     5  * This program is free software; you can redistribute it and/or modify it under the terms of the GNU
       
     6  * General Public License as published by the Free Software Foundation; either version 2 of the License,
       
     7  * or (at your option) any later version.
       
     8  * 
       
     9  * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
       
    10  * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
       
    11  * Public License for more details.
       
    12  * 
       
    13  * You should have received a copy of the GNU General Public License along with this program; if not,
       
    14  * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
       
    15  */
       
    16 
       
    17 #import "DCPurpleYahooJoinChatViewController.h"
       
    18 #import "ESPurpleYahooAccountViewController.h"
       
    19 #import "ESPurpleYahooJapanAccount.h"
       
    20 #import "ESYahooJapanService.h"
       
    21 
       
    22 @implementation ESYahooJapanService
       
    23 
       
    24 //Account Creation
       
    25 - (Class)accountClass{
       
    26 	return [ESPurpleYahooJapanAccount class];
       
    27 }
       
    28 
       
    29 - (AIAccountViewController *)accountViewController{
       
    30     return [ESPurpleYahooAccountViewController accountViewController];
       
    31 }
       
    32 
       
    33 - (DCJoinChatViewController *)joinChatView{
       
    34 	return [DCPurpleYahooJoinChatViewController joinChatView];
       
    35 }
       
    36 
       
    37 //Service Description
       
    38 - (NSString *)serviceCodeUniqueID{
       
    39 	return @"libpurple-Yahoo!-Japan";
       
    40 }
       
    41 - (NSString *)serviceID{
       
    42 	return @"Yahoo! Japan";
       
    43 }
       
    44 - (NSString *)serviceClass{
       
    45 	return @"Yahoo! Japan";
       
    46 }
       
    47 - (NSString *)shortDescription{
       
    48 	return @"Yahoo! Japan";
       
    49 }
       
    50 - (NSString *)longDescription{
       
    51 	return @"Yahoo! Japan";
       
    52 }
       
    53 - (NSCharacterSet *)allowedCharacters{
       
    54 	return [NSCharacterSet characterSetWithCharactersInString:@"abcdefghijklmnopqrstuvwxyz0123456789_@.-"];
       
    55 }
       
    56 - (BOOL)caseSensitive{
       
    57 	return NO;
       
    58 }
       
    59 - (AIServiceImportance)serviceImportance{
       
    60 	return AIServiceSecondary;
       
    61 }
       
    62 
       
    63 @end