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

« back to all changes in this revision

Viewing changes to src/io/inkscapestream.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:
27
27
        { reason = theReason; }
28
28
    StreamException(Glib::ustring &theReason) throw()
29
29
        { reason = theReason; }
30
 
    ~StreamException() throw()
 
30
    virtual ~StreamException() throw()
31
31
        {  }
32
32
    char const *what() const throw()
33
33
        { return reason.c_str(); }
424
424
 
425
425
    StdReader();
426
426
 
427
 
    ~StdReader();
 
427
    virtual ~StdReader();
428
428
    
429
429
    /*Overload these 3 for your implementation*/
430
430
    virtual int available();
475
475
    virtual void put(gunichar ch) = 0;
476
476
    
477
477
    /* Formatted output */
478
 
    virtual Writer& printf(char *fmt, ...) = 0;
 
478
    virtual Writer& printf(char const *fmt, ...) G_GNUC_PRINTF(2,3) = 0;
479
479
 
480
480
    virtual Writer& writeChar(char val) = 0;
481
481
 
531
531
    
532
532
    
533
533
    /* Formatted output */
534
 
    virtual Writer &printf(char *fmt, ...);
 
534
    virtual Writer &printf(char const *fmt, ...) G_GNUC_PRINTF(2,3);
535
535
 
536
536
    virtual Writer& writeChar(char val);
537
537
 
579
579
 
580
580
Writer& operator<< (Writer &writer, std::string &val);
581
581
 
582
 
Writer& operator<< (Writer &writer, char *val);
 
582
Writer& operator<< (Writer &writer, char const *val);
583
583
 
584
584
Writer& operator<< (Writer &writer, bool val);
585
585
 
636
636
public:
637
637
    StdWriter();
638
638
 
639
 
    ~StdWriter();
 
639
    virtual ~StdWriter();
640
640
 
641
641
 
642
642
    virtual void close();