Path: blob/master/yabause/src/cocoa/YabauseButtonFormatter.h
2 views
/* Copyright 2011 Lawrence Sebald12This file is part of Yabause.34Yabause is free software; you can redistribute it and/or modify5it under the terms of the GNU General Public License as published by6the Free Software Foundation; either version 2 of the License, or7(at your option) any later version.89Yabause is distributed in the hope that it will be useful,10but WITHOUT ANY WARRANTY; without even the implied warranty of11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12GNU General Public License for more details.1314You should have received a copy of the GNU General Public License15along with Yabause; if not, write to the Free Software16Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA17*/1819#ifndef YabauseButtonFormatter_h20#define YabauseButtonFormatter_h2122#import <Cocoa/Cocoa.h>232425@interface YabauseButtonFormatter : NSFormatter {26}2728- (NSString *)stringForObjectValue:(id)obj;29- (BOOL)getObjectValue:(id *)obj30forString:(NSString *)str31errorDescription:(NSString **)err;3233- (BOOL)control:(NSControl*)control34textView:(NSTextView*)textView35doCommandBySelector:(SEL)commandSelector;3637@end /* @interface YabauseButtonFormatter */3839#endif /* !YabauseButtonFormatter_h */404142