Show
Ignore:
Timestamp:
03/25/08 18:16:02 (8 months ago)
Author:
Mike Wey
Message:

Support for dmd 2.012

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/atk/Document.d

    r466 r480  
    4747 * module aliases: 
    4848 * local aliases: 
     49 * overrides: 
    4950 */ 
    5051 
     
    220221     * Returns: a string indicating the document type 
    221222     */ 
    222     public char[] getDocumentType() 
     223    public string getDocumentType() 
    223224    { 
    224225        // const gchar* atk_document_get_document_type (AtkDocument *document); 
    225         return Str.toString(atk_document_get_document_type(atkDocument)).dup
     226        return Str.toString(atk_document_get_document_type(atkDocument))
    226227    } 
    227228     
     
    244245     * Returns: a string value associated with the named attribute for this document, or NULL if a value for attribute_name has not been specified for this document.Since ATK 1.12 
    245246     */ 
    246     public char[] getAttributeValue(char[] attributeName) 
     247    public string getAttributeValue(string attributeName) 
    247248    { 
    248249        // const gchar* atk_document_get_attribute_value (AtkDocument *document,  const gchar *attribute_name); 
    249         return Str.toString(atk_document_get_attribute_value(atkDocument, Str.toStringz(attributeName))).dup
     250        return Str.toString(atk_document_get_attribute_value(atkDocument, Str.toStringz(attributeName)))
    250251    } 
    251252     
     
    257258     * Returns: TRUE if value is successfully associated with attribute_name for this document, FALSE otherwise (e.g. if the document does not allow the attribute to be modified).Since ATK 1.12 
    258259     */ 
    259     public int setAttributeValue(char[] attributeName, char[] attributeValue) 
     260    public int setAttributeValue(string attributeName, string attributeValue) 
    260261    { 
    261262        // gboolean atk_document_set_attribute_value (AtkDocument *document,  const gchar *attribute_name,  const gchar *attribute_value); 
     
    282283     * Returns: a UTF-8 string indicating the POSIX-style LC_MESSAGES locale of the document content as a whole, or NULL if the document content does not specify a locale.Signal DetailsThe "load-complete" signalvoid user_function (AtkDocument *atkdocument, gpointer user_data) : Run LastThe 'load-complete' signal is emitted when a pending load of a staticdocument has completed. This signal is to be expected by ATK clients if and when AtkDocument implementors expose ATK_STATE_BUSY. If the stateof an AtkObject which implements AtkDocument does not include ATK_STATE_BUSY,it should be safe for clients to assume that the AtkDocument's static contentsare fully loaded into the container. (Dynamic document contents shouldbe exposed via other signals.) 
    283284     */ 
    284     public char[] getLocale() 
     285    public string getLocale() 
    285286    { 
    286287        // const gchar* atk_document_get_locale (AtkDocument *document); 
    287         return Str.toString(atk_document_get_locale(atkDocument)).dup
     288        return Str.toString(atk_document_get_locale(atkDocument))
    288289    } 
    289290}