~ubuntu-branches/ubuntu/saucy/sope/saucy

« back to all changes in this revision

Viewing changes to sope-core/NGExtensions/NGExtensions/NSDictionary+KVC.h

  • Committer: Package Import Robot
  • Author(s): Jeroen Dekkers
  • Date: 2012-05-09 15:39:17 UTC
  • Revision ID: package-import@ubuntu.com-20120509153917-nr4jlm8mktma1yv3
Tags: upstream-1.3.14
ImportĀ upstreamĀ versionĀ 1.3.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  Copyright (C) 2000-2008 SKYRIX Software AG
 
3
 
 
4
  This file is part of SOPE.
 
5
 
 
6
  SOPE is free software; you can redistribute it and/or modify it under
 
7
  the terms of the GNU Lesser General Public License as published by the
 
8
  Free Software Foundation; either version 2, or (at your option) any
 
9
  later version.
 
10
 
 
11
  SOPE is distributed in the hope that it will be useful, but WITHOUT ANY
 
12
  WARRANTY; without even the implied warranty of MERCHANTABILITY or
 
13
  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
 
14
  License for more details.
 
15
 
 
16
  You should have received a copy of the GNU Lesser General Public
 
17
  License along with SOPE; see the file COPYING.  If not, write to the
 
18
  Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 
19
  02111-1307, USA.
 
20
*/
 
21
 
 
22
#ifndef __NGExtensions_NSDictionary_KVC_H__
 
23
#define __NGExtensions_NSDictionary_KVC_H__
 
24
 
 
25
#import <Foundation/NSDictionary.h>
 
26
 
 
27
@interface NSDictionary(KVC)
 
28
 
 
29
- (id)valueForUndefinedKey:(NSString *)key;
 
30
 
 
31
- (id)handleQueryWithUnboundKey:(NSString *)key;
 
32
 
 
33
- (void)setValue:(id)value forUndefinedKey:(NSString *)key;
 
34
 
 
35
- (void)handleTakeValue:(id)value forUnboundKey:(NSString *)key;
 
36
 
 
37
@end
 
38
 
 
39
#endif /* __NGExtensions_NSDictionary_KVC_H__ */