Overview
Comment: | Make more use of the OFObject protocol. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
23acf384561672b2c3c842d9662f652e |
User & Date: | js on 2011-03-23 01:06:29 |
Other Links: | manifest | tags |
Context
2011-03-23
| ||
01:08 | Check if -Wshorten-64-to-32 is available. check-in: 04fa3f4371 user: js tags: trunk | |
01:06 | Make more use of the OFObject protocol. check-in: 23acf38456 user: js tags: trunk | |
00:19 | Add new methods to OFString. check-in: b682102c3d user: js tags: trunk | |
Changes
Modified src/OFApplication.h from [2c20aa4c5b] to [abd0f46934].
︙ | |||
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | + + + + | { \ return of_application_main(&argc, &argv, [cls class]); \ } /** * \brief A protocol for delegates of OFApplication. */ #ifndef OF_APPLICATION_M @protocol OFApplicationDelegate <OFObject> #else @protocol OFApplicationDelegate #endif /** * This method is called when the application was initialized and is running * now. */ - (void)applicationDidFinishLaunching; #ifdef OF_HAVE_OPTIONAL_PROTOCOLS |
︙ |
Modified src/OFApplication.m from [1a56a34657] to [4f09818652].
︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | + + | * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" #define OF_APPLICATION_M #include <stdlib.h> #import "OFApplication.h" #import "OFString.h" #import "OFArray.h" #import "OFDictionary.h" |
︙ |
Modified src/OFCollection.h from [1cb52c7504] to [10d2a861f6].
︙ | |||
15 16 17 18 19 20 21 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | - + | */ #import "OFEnumerator.h" /** * \brief A protocol with methods common for all collections. */ |
︙ |
Modified src/OFStreamObserver.h from [8d506e5d4b] to [e29e85d1f8].
︙ | |||
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | + + + + | @class OFMutableArray; @class OFMutableDictionary; /** * \brief A protocol that needs to be implemented by delegates for * OFStreamObserver. */ #ifndef OF_STREAM_OBSERVER_M @protocol OFStreamObserverDelegate <OFObject> #else @protocol OFStreamObserverDelegate #endif #ifdef OF_HAVE_OPTIONAL_PROTOCOLS @optional #endif /** * This callback is called when a stream did get ready for reading. * * \param stream The stream which did become ready for reading |
︙ |
Modified src/OFStreamObserver.m from [624d0c1dc4] to [a1bab4dfc6].
︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | + + | * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" #define OF_STREAM_OBSERVER_M #include <string.h> #ifdef OF_HAVE_POLL # include <poll.h> #endif |
︙ |
Modified src/OFString+XMLUnescaping.h from [180b3c909e] to [66a2b53b23].
︙ | |||
29 30 31 32 33 34 35 | 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | - + | OFString *entity); #endif /** * \brief A protocol that needs to be implemented by delegates for * -[stringByXMLUnescapingWithHandler:]. */ |
︙ |
Modified src/OFXMLElementBuilder.h from [e09c455358] to [bdb22714af].
︙ | |||
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | + + + + | @class OFXMLElement; @class OFXMLElementBuilder; /** * \brief A protocol that needs to be implemented by delegates for * OFXMLElementBuilder. */ #ifndef OF_XML_ELEMENT_BUILDER_M @protocol OFXMLElementBuilderDelegate <OFObject> #else @protocol OFXMLElementBuilderDelegate #endif /** * This callback is called when the OFXMLElementBuilder built an element. * * If the OFXMLElementBuilder was used as a delegate for the OFXMLParser since * parsing started, this will return the complete document as an OFXMLElement * with all children. * |
︙ |
Modified src/OFXMLElementBuilder.m from [7a79298589] to [b5b67afb3f].
︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | + + | * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" #define OF_XML_ELEMENT_BUILDER_M #import "OFXMLElementBuilder.h" #import "OFXMLElement.h" #import "OFXMLParser.h" #import "OFMutableArray.h" #import "OFAutoreleasePool.h" #import "OFExceptions.h" |
︙ |
Modified src/OFXMLParser.h from [1c3ea42498] to [4bfeec9a6e].
︙ | |||
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | + + + + | typedef OFString* (^of_xml_parser_unknown_entity_block_t)(OFXMLParser *parser, OFString *entity); #endif /** * \brief A protocol that needs to be implemented by delegates for OFXMLParser. */ #ifndef OF_XML_PARSER_M @protocol OFXMLParserDelegate <OFObject> #else @protocol OFXMLParserDelegate #endif #ifdef OF_HAVE_OPTIONAL_PROTOCOLS @optional #endif /** * This callback is called when the XML parser found processing instructions. * * \param parser The parser which found processing instructions |
︙ |
Modified src/OFXMLParser.m from [776ba5ef40] to [6d04013cc2].
︙ | |||
11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | + + | * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" #define OF_XML_PARSER_M #include <string.h> #include <unistd.h> #import "OFXMLParser.h" #import "OFString.h" #import "OFArray.h" |
︙ |