Changeset 321 for trunk/cocoa/mogenerator
- Timestamp:
- 08/13/08 16:13:59 (5 months ago)
- Files:
-
- trunk/cocoa/mogenerator/ddcli/DDCliApplication.h (modified) (2 diffs)
- trunk/cocoa/mogenerator/ddcli/DDCliApplication.m (modified) (1 diff)
- trunk/cocoa/mogenerator/ddcli/DDCliParseException.h (modified) (1 diff)
- trunk/cocoa/mogenerator/ddcli/DDCliParseException.m (modified) (1 diff)
- trunk/cocoa/mogenerator/ddcli/DDCliUtil.h (modified) (1 diff)
- trunk/cocoa/mogenerator/ddcli/DDCliUtil.m (modified) (1 diff)
- trunk/cocoa/mogenerator/ddcli/DDCommandLineInterface.h (modified) (2 diffs)
- trunk/cocoa/mogenerator/ddcli/DDGetoptLongParser.h (modified) (2 diffs)
- trunk/cocoa/mogenerator/ddcli/DDGetoptLongParser.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cocoa/mogenerator/ddcli/DDCliApplication.h
r239 r321 1 1 /* 2 * Copyright (c) 2007 Dave Dribin2 * Copyright (c) 2007-2008 Dave Dribin 3 3 * 4 4 * Permission is hereby granted, free of charge, to any person … … 136 136 * @example example.m 137 137 * 138 * This is a slighly more complex eexample application. Here are a138 * This is a slighly more complex example application. Here are a 139 139 * few sample runs of this program: 140 140 * trunk/cocoa/mogenerator/ddcli/DDCliApplication.m
r239 r321 1 1 /* 2 * Copyright (c) 2007 Dave Dribin2 * Copyright (c) 2007-2008 Dave Dribin 3 3 * 4 4 * Permission is hereby granted, free of charge, to any person trunk/cocoa/mogenerator/ddcli/DDCliParseException.h
r239 r321 1 1 /* 2 * Copyright (c) 2007 Dave Dribin2 * Copyright (c) 2007-2008 Dave Dribin 3 3 * 4 4 * Permission is hereby granted, free of charge, to any person trunk/cocoa/mogenerator/ddcli/DDCliParseException.m
r239 r321 1 1 /* 2 * Copyright (c) 2007 Dave Dribin2 * Copyright (c) 2007-2008 Dave Dribin 3 3 * 4 4 * Permission is hereby granted, free of charge, to any person trunk/cocoa/mogenerator/ddcli/DDCliUtil.h
r239 r321 1 1 /* 2 * Copyright (c) 2007 Dave Dribin2 * Copyright (c) 2007-2008 Dave Dribin 3 3 * 4 4 * Permission is hereby granted, free of charge, to any person trunk/cocoa/mogenerator/ddcli/DDCliUtil.m
r239 r321 1 1 /* 2 * Copyright (c) 2007 Dave Dribin2 * Copyright (c) 2007-2008 Dave Dribin 3 3 * 4 4 * Permission is hereby granted, free of charge, to any person trunk/cocoa/mogenerator/ddcli/DDCommandLineInterface.h
r239 r321 1 1 /* 2 * Copyright (c) 2007 Dave Dribin2 * Copyright (c) 2007-2008 Dave Dribin 3 3 * 4 4 * Permission is hereby granted, free of charge, to any person … … 36 36 * @mainpage ddcli: An Objective-C Command Line Helper 37 37 * 38 * ddcli is an Objective-C library to help write command line 38 * <a href="http://www.dribin.org/dave/software/#ddcli">ddcli</a> is an 39 * Objective-C library to help write command line 39 40 * applications by simplifying parsing command line options and 40 41 * eliminating much of the boiler plate code. The <a trunk/cocoa/mogenerator/ddcli/DDGetoptLongParser.h
r239 r321 1 1 /* 2 * Copyright (c) 2007 Dave Dribin2 * Copyright (c) 2007-2008 Dave Dribin 3 3 * 4 4 * Permission is hereby granted, free of charge, to any person … … 101 101 102 102 /** 103 * Returns the target object. 104 * 105 * @return The target object 106 */ 107 - (id) target; 108 109 /** 110 * Sets the target object. 111 * 112 * @param target The target object 113 */ 114 - (void) setTarget: (id) target; 115 116 /** 103 117 * If set to YES, parses options with getopt_long_only() instead of 104 118 * getopt_long(). trunk/cocoa/mogenerator/ddcli/DDGetoptLongParser.m
r239 r321 1 1 /* 2 * Copyright (c) 2007 Dave Dribin2 * Copyright (c) 2007-2008 Dave Dribin 3 3 * 4 4 * Permission is hereby granted, free of charge, to any person … … 68 68 } 69 69 70 - (void) dealloc 71 { 72 [mOptionInfoMap release]; 73 [mOptionString release]; 74 [mOptionsData release]; 75 [mUtf8Data release]; 76 77 [super dealloc]; 78 } 79 80 - (id) target; 81 { 82 return mTarget; 83 } 84 85 - (void) setTarget: (id) target; 86 { 87 mTarget = target; 88 } 89 90 70 91 - (void) setGetoptLongOnly: (BOOL) getoptLongOnly; 71 92 {
