Revision: 29741
          http://sourceforge.net/p/bibdesk/svn/29741
Author:   hofman
Date:     2025-10-20 08:48:58 +0000 (Mon, 20 Oct 2025)
Log Message:
-----------
mark designated initializers in yaz framework

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMConnection.h
    trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMQuery.h
    trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMRecord.h
    trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMResultSet.h

Modified: trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMConnection.h
===================================================================
--- trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMConnection.h 2025-10-19 
14:54:01 UTC (rev 29740)
+++ trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMConnection.h 2025-10-20 
08:48:58 UTC (rev 29741)
@@ -68,8 +68,10 @@
     @param      dbase Database name.
     @result     (description)
 */
-- (id)initWithHost:(NSString *)hostName port:(NSInteger)portNum 
database:(nullable NSString *)dbase;
+- (id)initWithHost:(NSString *)hostName port:(NSInteger)portNum 
database:(nullable NSString *)dbase NS_DESIGNATED_INITIALIZER;
 
+- (id)init NS_UNAVAILABLE;
+
 /*!
     @method     initWithPropertyList:
     @abstract   Initializes a new connection using the supplied property list, 
which should be provided by -propertyList.

Modified: trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMQuery.h
===================================================================
--- trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMQuery.h      2025-10-19 
14:54:01 UTC (rev 29740)
+++ trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMQuery.h      2025-10-20 
08:48:58 UTC (rev 29741)
@@ -62,8 +62,10 @@
     @param      confString A configuration string that maps query terms to 
record fields.  Pass nil for the default.
     @result     Uses objc-default.bib as the default config, but other config 
strings may be provided.
 */
-- (id)initWithCCLString:(NSString *)queryString config:(nullable NSString 
*)confString;
+- (id)initWithCCLString:(NSString *)queryString config:(nullable NSString 
*)confString NS_DESIGNATED_INITIALIZER;
 
+- (id)init NS_UNAVAILABLE;
+
 /*!
     @method     zoomQuery
     @abstract   Returns an initialized ZOOM_query.
@@ -89,7 +91,7 @@
     @discussion (comprehensive description)
     @param      config A config string.  Pass nil or simply use -init to use 
the framework's objc-default.bib config.
 */
-- (id)initWithConfigString:(nullable NSString *)config;
+- (id)initWithConfigString:(nullable NSString *)config 
NS_DESIGNATED_INITIALIZER;
 
 @end
 

Modified: trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMRecord.h
===================================================================
--- trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMRecord.h     2025-10-19 
14:54:01 UTC (rev 29740)
+++ trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMRecord.h     2025-10-20 
08:48:58 UTC (rev 29741)
@@ -115,8 +115,10 @@
     @param      record ZOOM_record, may not be nil.
     @param      charSetName An IANA character set name, used to convert data 
to NSStrings.  May not be nil.
 */
-- (id)initWithZoomRecord:(ZOOM_record)record charSet:(NSString *)charSetName;
+- (id)initWithZoomRecord:(ZOOM_record)record charSet:(NSString *)charSetName 
NS_DESIGNATED_INITIALIZER;
 
+- (id)init NS_UNAVAILABLE;
+
 /*!
     @method     rawString
     @abstract   Converts the underlying data in its "raw" syntax to an 
NSString, using the character set supplied at initialization time.

Modified: trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMResultSet.h
===================================================================
--- trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMResultSet.h  2025-10-19 
14:54:01 UTC (rev 29740)
+++ trunk/bibdesk_vendorsrc/indexdata/yaz/objc/ZOOMResultSet.h  2025-10-20 
08:48:58 UTC (rev 29741)
@@ -56,8 +56,10 @@
     @param      charSetName IANA character set name passed to ZOOMRecord 
instances (may not be nil)
     @result     Provides convenient access to ZOOMRecords.
 */
-- (id)initWithZoomResultSet:(ZOOM_resultset)resultSet charSet:(NSString 
*)charSetName;
+- (id)initWithZoomResultSet:(ZOOM_resultset)resultSet charSet:(NSString 
*)charSetName NS_DESIGNATED_INITIALIZER;
 
+- (id)init NS_UNAVAILABLE;
+
 /*!
     @method     countOfRecords
     @abstract   Returns the number of records in the result set.

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to