~ubuntu-branches/debian/experimental/inkscape/experimental

« back to all changes in this revision

Viewing changes to src/dom/io/domstream.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-09-09 23:29:02 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080909232902-c50iujhk1w79u8e7
Tags: 0.46-2.1
* Non-maintainer upload.
* Add upstream patch fixing a crash in the open dialog
  in the zh_CN.utf8 locale. Closes: #487623.
  Thanks to Luca Bruno for the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 * Authors:
13
13
 *   Bob Jamison
14
14
 *
15
 
 * Copyright (C) 2006 Bob Jamison
 
15
 * Copyright (C) 2006-2007 Bob Jamison
16
16
 *
17
17
 *  This library is free software; you can redistribute it and/or
18
18
 *  modify it under the terms of the GNU Lesser General Public
50
50
 
51
51
    StreamException(const DOMString &theReason) throw()
52
52
        { reason = theReason; }
53
 
    ~StreamException() throw()
 
53
    virtual ~StreamException() throw()
54
54
        {  }
55
55
    char const *what()
56
56
        { return reason.c_str(); }
441
441
 
442
442
    StdReader();
443
443
 
444
 
    ~StdReader();
 
444
    virtual ~StdReader();
445
445
 
446
446
    /*Overload these 3 for your implementation*/
447
447
    virtual int available();
492
492
    virtual int put(XMLCh ch) = 0;
493
493
 
494
494
    /* Formatted output */
495
 
    virtual Writer& printf(char *fmt, ...) = 0;
 
495
    virtual Writer& printf(const DOMString &fmt, ...) = 0;
496
496
 
497
497
    virtual Writer& writeChar(char val) = 0;
498
498
 
544
544
 
545
545
 
546
546
    /* Formatted output */
547
 
    virtual Writer &printf(char *fmt, ...);
 
547
    virtual Writer &printf(const DOMString &fmt, ...);
548
548
 
549
549
    virtual Writer& writeChar(char val);
550
550
 
645
645
public:
646
646
    StdWriter();
647
647
 
648
 
    ~StdWriter();
 
648
    virtual ~StdWriter();
649
649
 
650
650
 
651
651
    virtual void close();